No email client? Use telnet to send and receive emails!

Source: Internet
Author: User
Telnet to port 25 of the server to send emails using the SMTP service of the server.
Below is what I tested at the company Code In bold.

Telnet mail.lypower.com.cn
220 mail.lypower.com.cn Microsoft ESMTP mail service, version: 6.0.20.0.3959 ready at Fri, 9 May 2008 10:51:50 + 0800

Helo
250 mail.lypower.com.cn Hello [192.168.50.8]

Mail from: xuminghui@lypower.com.cn
250 2.1.0 xuminghui@lypower.com.cn... sender OK

Rcpt to: xuminghui@lypower.com.cn
250 2.1.5 xuminghui@lypower.com.cn

Data
354 start mail input; end with <CRLF>. <CRLF>
Hello, xuminghui.
This email is from the telnet port 25.
The command line is:
Helo
Mail from: xuminghui@lypower.com.cn
Rcpt to: xuminghui@lypower.com.cn
Data
-- Here input the message --
OK. The end.
Send by pangpang, xuminghui, haha
Over

.
250 2.6.0 <MAILTWpSewau9E3RCmR00000001@mail.lypower.com.cn> queued mail for delivery

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.