Wednesday, 24 August 2016

Send Mail Using SMTP Server

The Sendmail Transfer Protocol, or SMTP, is the Internet's standard server for email transport. As long as a server does not run encryption or any additional authentication methods, you can send mail from virtually any address by connecting to the server via telnet. By knowing a few basic commands, you can use this method to quickly test the status of any running SMTP server or quickly send an email without having to install and setup an email client while on the road.

Launch your favorite telnet client. On Microsoft Windows, there is an included telnet client from the command prompt, but many users prefer to use PuTTY (see Resources).

Connect to your SMTP server on port 25. On the built-in telnet client with Microsoft Windows you will have to use the "Open" command to accomplish this.

Type "HELO hostname" where hostname is the name of your Email address' host, such as "HELO gmail.com" or "HELO yahoo.com", and press "Enter." This identifies you with the SMTP server.

Type "MAIL FROM: your@email.com" and press "Enter." This will identify your Email address as "your@email.com" in the "From" field on the recipient's end. This simply fills in the From field in the Email headers and can actually be any Email address you want to use, not just your own.

Type "RCPT TO: rcpt@email.com" and press "Enter." This will set "rcpt@email.com" as the address to which this email will be delivered.

Type "DATA" and press "Enter" to begin composing your message. Attach a subject by typing "Subject: yoursubject" and pressing "Enter" twice.

Type in the rest of your email in the message's body. When you have finished with your message, press "Enter" and add a "." on a line by itself before pressing "Enter" again. This tells the SMTP server that you have finished composing your message. For instance, if this step were the body of a message, the end would look like:

Type "QUIT" and press "Enter" to complete your connection with the SMTP server. Your email will be automatically queued for delivery.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews