How to Send Email Using Telnet: 8 Steps (with Pictures) - wikiHow (2024)

  • Categories
  • Computers and Electronics
  • Computer Networking
  • Remote Access Services

Download Article

An easy-to-follow guide on sending an email with Telnet

Explore this Article

parts

1Connecting to the Mail Server with Telnet

2Sending Your Message

Other Sections

Tips and Warnings

Things You'll Need

Related Articles

References

Written byNicole Levine, MFA

Last Updated: June 27, 2024Fact Checked

Download Article

Software like Thunderbird and Outlook make sending e-mail seem like magic. Well, until your e-mail never arrives at its destination. How can you find out what really happens when you click “Send?” One option is to send a test message from your e-mail provider's outbound server with telnet, a tiny application that came with your computer. You may catch an error message that your e-mail software didn't.

Part 1

Part 1 of 2:

Connecting to the Mail Server with Telnet

Download Article

  1. 1

    Get telnet. If you’re using MacOS or Windows XP, your version of telnet is ready to use. If you have Windows Vista, 2008 server, 7, 8.1 or 10, you’ll need to enable telnet before you can use it.[1]

    • Windows Vista, 2008 server, 7 and 8.1: Click on the Start Menu and then select Control Panel. Click Programs, and select “Turn Windows features on or off.” This will bring up a list of Windows Features. Scroll down until you see “Telnet Client,” and put a check in that box. Click “OK.” [2]
    • Windows 10: Right-click the Start menu and select Programs and Features. Click “Turn Windows features on or off” in the left menu. In the list that pops up, put a check in the box next to “Telnet client” and click “OK.”
  2. 2

    Open a terminal window. This is a little different between Windows and Mac.

    • Any version of Windows: Press Win+R , type cmd, then press Enter.
    • Mac: In Finder, select “Applications,” then “Utilities.” Double-click the “Terminal” icon. You can also access Terminal by typing it into Launchpad and clicking it.

    Advertisem*nt

  3. 3

    Open a telnet connection. Type telnet mail.server.com 25 where "mail.server.com" is the name of the Simple Mail Transfer Protocol (SMTP) server of your email provider (such as smtp-server.austin.rr.com) and 25 is the port number used by the SMTP service.[3]

    • You should receive a reply like "220 mail.server.com.”
    • Port 25 is the port for most mail servers, but some network administrators move SMTP to a different port, like 465 (a secure port) or 587 (for Microsoft Outlook users). Ask your administrator (or check your account information) for the correct port.
    • If you receive an error message, such as "Cannot connect to host on port 25," and you are sure that port 25 is the correct port, the mail server is likely experiencing an issue.
  4. Advertisem*nt

Part 2

Part 2 of 2:

Sending Your Message

Download Article

  1. 1

    Greet the server. The rest of the steps are the same no matter which operating system you're using. Type HELO yourdomain.com where yourdomain.com is the domain name from which you send e-mail. Note that there is only one L in HELO. Press Enter.[4]

    • You should receive a reply like "250 mail.server.com Hello yourdomain.com pleased to meet you."
    • If you receive no response or an error message, try EHLO instead of HELO. Some servers prefer one to the other.
  2. 2

    Enter the sender “header” information. Type mail from: you@server.com, using your own e-mail address. Make sure there is a space after the mail from:. Press Enter.

    • You should receive message that says something similar to "250 Sender OK.”
    • If you see an error, double-check that you’re using an e-mail address with the same domain as the server. Your server may not allow you to send a message with your yahoo.com address, for example.
  3. 3

    Enter the e-mail address of the recipient. Type rcpt to: friend@friendsdomain.com, where the e-mail address is that of your actual recipient. Press Enter.

    • You should see a message that says something along the lines of "250 OK – MAIL FROM you@yourdomain.com ".
    • If you receive an error, the e-mail address you are trying to send a message to may be blocked.
  4. 4

    Compose your message. You’ll need to enter a few commands to format and send the message.

    • Type data and press Enter.
    • On the next line, type subject: test and press Enter twice. Replace “test” with your desired subject.
    • Type your message. When you’re done, press Enter.
    • Type a single . to end the message, then press Enter. You should see a message that confirms your message was accepted or queued. This message varies across servers.
    • If you see any sort of error message, write it down and contact your e-mail provider.
  5. 5

    Type quit to exit telnet. Press Enter.[5]

  6. Advertisem*nt

Community Q&A

Search

Add New Question

  • Question

    Does this process require an internet connection?

    How to Send Email Using Telnet: 8 Steps (with Pictures) - wikiHow (13)

    Community Answer

    Only if you are trying to send your email outside of your local network or use an Internet Mail Server for mailing.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 8Helpful 14

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

    Advertisem*nt

    Tips

    • Some mail services (such as Hotmail) don’t allow users to send e-mail via telnet.

      Thanks

      Helpful0Not Helpful0

    • Some e-mail clients will filter mail sent in this manner to a user’s spam mailbox. If you’re using this method to test your account, make sure you check the destination user’s spam folder for the test message.

      Thanks

      Helpful0Not Helpful0

    • The same telnet commands work with any telnet software, even on Linux.

      Thanks

      Helpful0Not Helpful0

    Show More Tips

    Submit a Tip

    All tip submissions are carefully reviewed before being published

    Submit

    Thanks for submitting a tip for review!

    Advertisem*nt

    Warnings

    • Using this method to send harassing or illegal messages could easily catch up with you. System administrators closely monitor their outbound mail servers.

      Thanks

      Helpful0Not Helpful0

    Advertisem*nt

    Things You'll Need

    • Telnet client
    • The address of a mail server capable of relaying mails
    • Valid email address

    You Might Also Like

    How to to Access Email on a Computer, Phone, or Tablet
    How toTransfer Contacts from iPhone to GmailHow toCreate Multiple Email Accounts4 Easy Ways to Open an Email Sent to YouSimple Ways to Make a Mailing List in Gmail6 Easy Steps to Change Your Email Password on Your iPhoneHow to Make an Email Address for FreeSimple Steps to Set Up an Email Address with Gmail, Outlook + MoreHow toWrite a Formal EmailHow toAsk for a Phone Number over EmailHow to Send Emails to Multiple People Individually: 3 Step-by-Step MethodsHow to Access Military Email from Anywhere: Easy Outlook Setup

    Advertisem*nt

    About This Article

    How to Send Email Using Telnet: 8 Steps (with Pictures) - wikiHow (29)

    Written by:

    Nicole Levine, MFA

    wikiHow Technology Writer

    This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 1,431,348 times.

    How helpful is this?

    Co-authors: 41

    Updated: June 27, 2024

    Views:1,431,348

    Categories: Featured Articles | Email | Remote Access Services

    In other languages

    Spanish

    Russian

    German

    French

    Dutch

    Thai

    Chinese

    Hindi

    • Print
    • Send fan mail to authors

    Thanks to all authors for creating a page that has been read 1,431,348 times.

    Is this article up to date?

    Advertisem*nt

    How to Send Email Using Telnet: 8 Steps (with Pictures) - wikiHow (2024)
    Top Articles
    The Principality of Sidli
    First Lady Visits Ludeman Family Center for Women’s Health Research
    Warren Ohio Craigslist
    Dlnet Retiree Login
    Jazmen Jafar Linkedin
    Toyota Campers For Sale Craigslist
    Guardians Of The Galaxy Showtimes Near Athol Cinemas 8
    Videos De Mexicanas Calientes
    Mivf Mdcalc
    Whiskeytown Camera
    My.doculivery.com/Crowncork
    Job Shop Hearthside Schedule
    Springfield Mo Craiglist
    Cvs Appointment For Booster Shot
    Dr Manish Patel Mooresville Nc
    Puretalkusa.com/Amac
    Craigslist In Visalia California
    Keck Healthstream
    Kashchey Vodka
    Reborn Rich Kissasian
    Gas Buddy Prices Near Me Zip Code
    How Taraswrld Leaks Exposed the Dark Side of TikTok Fame
    Craigslist Panama City Beach Fl Pets
    Publix Near 12401 International Drive
    Buhl Park Summer Concert Series 2023 Schedule
    Duke University Transcript Request
    Solo Player Level 2K23
    Mawal Gameroom Download
    Till The End Of The Moon Ep 13 Eng Sub
    Otis Offender Michigan
    Skip The Games Ventura
    School Tool / School Tool Parent Portal
    Scottsboro Daily Sentinel Obituaries
    Hell's Kitchen Valley Center Photos Menu
    Flags Half Staff Today Wisconsin
    Express Employment Sign In
    Pro-Ject’s T2 Super Phono Turntable Is a Super Performer, and It’s a Super Bargain Too
    Craigslist Boats Dallas
    Brandon Spikes Career Earnings
    Bekah Birdsall Measurements
    Unblocked Games Gun Games
    Kb Home The Overlook At Medio Creek
    Pulaski County Ky Mugshots Busted Newspaper
    Penny Paws San Antonio Photos
    Eat Like A King Who's On A Budget Copypasta
    Menu Forest Lake – The Grillium Restaurant
    Worland Wy Directions
    Euro area international trade in goods surplus €21.2 bn
    Craigslist Cars For Sale By Owner Memphis Tn
    Metra Union Pacific West Schedule
    Electronics coupons, offers & promotions | The Los Angeles Times
    Ocean County Mugshots
    Latest Posts
    Article information

    Author: Domingo Moore

    Last Updated:

    Views: 6076

    Rating: 4.2 / 5 (73 voted)

    Reviews: 80% of readers found this page helpful

    Author information

    Name: Domingo Moore

    Birthday: 1997-05-20

    Address: 6485 Kohler Route, Antonioton, VT 77375-0299

    Phone: +3213869077934

    Job: Sales Analyst

    Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

    Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.