How to Send an Email Through Telnet With an Attachment


Telnet allows Internet users to connect to their PCs remotely, establishing a text-based portal for remote communication. Generally used as access to the inner workings of local operating systems, Telnet can also be used as a means of sending email and transmitting files as attachments from one PC to another.

Things You'll Need

  • Email server details
  • Run the Command prompt. This is achieved on any Windows PC through the typing "cmd" in the "Run" application under the "Start" menu.

  • Type in the following command, keeping your email server details ready for insertion:

    telnet 25

    The only variable is, which you should modify to reflect the outgoing SMTP server on your email account.

  • Type the command "EHLO" to begin typing your email, using the MAIL FROM, RCP TO and DATA commands, respectively, to type your message.

  • Encode your attachment through the MIME format, entering the header and content code within the DATA section of your email. This will allow your attached media to be sent over the text-based Telnet protocol, regardless of whether it's an image, an illustrated brochure or just plain text.

  • Type a period on an otherwise blank line beneath your email and hit return to send your message and attachment. If you receive an error message, check that you've inserted the correct commands with no typos and that your email addresses are correct.

  • Type the command 'QUIT' to end your Telnet connection.

Related Searches


  • Photo Credit Stockbyte/Stockbyte/Getty Images
Promoted By Zergnet


You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!