How to send Email using Telnet command over port 25 using the SMTP protocol
Telnet: TELNET (TELetype NETwork)
is a network protocol used on the Internet or local area network (LAN)
connections. It was developed in 1969 and standardized as IETF STD 8,
one of the first Internet standards. Read more about Telnet in the Wikepedia article here
SMTP: Simple Mail Transfer Protocol (SMTP) is the de facto standard for e-mail transmissions across the Internet. Read more about SMTP in this Wikipedia article here
Step # 1: First, open a command prompt. To open a command prompt window, click Start, Run and then type in cmd and press Enter. You can also press the +R to open the Run prompt and then type in cmd in the open text box.
Step # 2: You need to know a remote mail server. If you are still in
school or working, there is the excellent opportunity to use
your University mail server or your company’s mail server for this.
type in telnet RemoteMailServer 25 at the command
prompt. The Remote mail server here in this command is the mail server
of your school or company. It is usually mailhost..edu or compmail..com
or something on those lines. When you press enter, you are shown a
quick prompt that you are connecting to the remote mail server.
Step # 3: Introduce yourself to the mail server. Play around a bit.
type in helo mailhost at the command prompt. The mail server responds back with something like this
250 RemoteMailHost. Hello , pleased to meet you.
Step # 4: You can now enter your email address.
type in mail from: your email id @ blah.com
The mail server responds back with a 250 … sender ok
Step # 5: You can now enter your receipient’s email address
type in rcpt to: recipient email id @ blah.com
The mail server responds back with a “Recipient OK” message
Step # 6: Now, you are ready to type in the body of the email message.
type in data and press enter.
Now, type your message and then finally press Enter. To end your message type in a single period “.” . Your message is now in the queue
Step # 7: To complete and finish the process, type in quit and press enter. The mail server responds with a “Bye” after which you see a “Connection to host lost” message displayed.
DISCLAIMER
The information provided on hottechtips.blogspot.com is to be used for educational purposes only. The website creator is in no way responsible for any misuse of the information provided. All of the information in this website is meant to help the reader develop a hacker defense attitude in order to prevent the attacks discussed. In no way should you use the information to cause any kind of damage directly or indirectly. The word “Hack” or “Hacking” on hottechtips.blogspot.com should be regarded as “Ethical Hack” or “Ethical hacking” respectively. You implement the information given at your own risk.
220 virt-runtime.MAILER.com ESMTP Sendmail 8.13.8+Sun/8.13.8; Tue, 31 Jul 2012
ReplyDelete16:07:45 GMT
helo hacker
250 virt-runtime.gh.zain.com Hello [10.128.108.34], pleased to meet you
mail from:Billg@gmail.com
250 2.1.0 Billg@gmail.com... Sender ok
mail from:Billg@gmail.com
503 5.5.0 Sender already specified
rcpt to:hamza@gmail.com
550 5.7.1 hamzasuka@gmail.com... Relaying denied. IP name lookup failed [10.128.
108.34]
WHAT IS WRONG HERE!
WHAT DO I DO TO THIS?