You are viewing the article How to Send Emails with Telnet at Lassho.edu.vn you can quickly access the necessary information in the table of contents of the article below.
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 4,755 times.
Software like Thunderbird and Outlook make email delivery magical. But maybe your email doesn’t get where it needs to be. How to find out what happens after you click the “Send” button? One way is to test email from an email service provider’s external server using telnet – a small application built into the computer. You will receive an error message if the email software does not send the message.
Steps
Connect an email server with Telnet
- On Windows Vista, Server 2008, 7 and 8.1: Click Start Menu, select Contrp Panel. Then click Programs and select “Turn Windows features on or off”. A list of Windows Features will appear. Scroll down to find “Telnet Client” and then check the box next to it. Click “OK.” [1] X Research Source
- On 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, check the box next to “Telnet client” and click “OK.”
- On all versions of Windows: Press ⊞ Win + R , type
cmd
, and then press ↵ Enter . - On Mac: In the Finder, choose “Applications” then “Utilities.” Then, double-click the “Terminal” icon. [2] X Research Resources You can also access Terminal by typing the program name into Launchpad and then clicking the application.
telnet mail.server.com 25
, where “mail.server.com” is the SMTP server name of the email service provider (such as smtp). -server.austin.rr.com) and 25 is the port used by the SMTP service.
- You should get a response saying “220 mail.server.com.”
- Port 25 is the port for most mail servers, but some network administrators often switch SMTP to another port like 465 (secure port) or 587 (for Microsoft Outlook users) [3] X Research Source . Ask your administrator (or check your account info) for the correct port.
- If the system gives an error such as “Cannot connect to host on port 25” (Cannot connect to server on port 25) but you are sure that port 25 is the correct port, it is probably an email server is having trouble.
Send email
HELO yourdomain.com
, where yourdomain.com is the domain name you use to send emails. Note that the word HELO has only one L. Then press ↵ Enter .
- You will get a response saying “250 mail.server.com Hello yourdomain.com pleased to meet you.”
- If there is no response, or you receive an error message, use
EHLO
instead ofHELO
. Some servers prefer EHLO.
mail from: you@server.com
, remember to use your email address. Don’t leave spaces after mail from:
. Press ↵ Enter .
- You’ll get a response with something like “250 Sender OK.”
- If the machine gives an error, double check that the email address you are using has the same domain name as the server. For example, the server will not allow you to send email with a yahoo.com address.
rcpt to: friend@friendsdomain.com
, remembering to use the actual recipient’s email address. Then press ↵ Enter .
- You should get a message along the lines above saying “250 OK – MAIL FROM you@yourdomain.com “.
- If the machine gives an error, the email address to which you are sending mail may be blocked.
- Type
data
and press ↵ Enter . - On the next line, type
subject: test
and then press ↵ Enter twice. Replace “test” with the theme you want to use. - Compose the message body. Press ↵ Enter when done.
- Type a mark . to end the message, then press ↵ Enter . You will see a confirmation message that your email has been accepted or is pending. This message will vary depending on the server.
- If you see any error messages, make a note to contact your email service provider.
quit
to exit telnet. Then press ↵ Enter . Advice
- The same telnet command will work with any telnet software, including on Linux.
- Some e-mail clients will filter and put messages sent this way to the recipient’s spam box. If you’re using this method to check your account, be sure to check your recipient’s spam folder for the email you sent.
- Some email services (such as Hotmail) do not allow users to send email via telnet.
- You can also check your email with telnet. See more online to learn how.
Warning
- You will be easily detected if you use this method to send harassing or illegal emails. System administrators often closely monitor their outgoing servers.
Things you need
- Telnet client
- Email server address capable of email forwarding
- Valid email address
This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.
The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.
This article has been viewed 4,755 times.
Software like Thunderbird and Outlook make email delivery magical. But maybe your email doesn’t get where it needs to be. How to find out what happens after you click the “Send” button? One way is to test email from an email service provider’s external server using telnet – a small application built into the computer. You will receive an error message if the email software does not send the message.
Thank you for reading this post How to Send Emails with Telnet at Lassho.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: