Use Telnet to log in to the SMTP service to send mail

Source: Internet
Author: User

Recently in the company's anti-spam system, found that there is a mail system sent a lot of spam, use Telnet login up, try to send a message, unexpectedly can successfully sent, originally this post office system is no limit, was used, alas, here is how to use the command telnet To make a forged hand-sent message.

# telnet MAIL.CORATUR.CU 25

Helo coratur.cu

Mail from:<[email protected]>

RCPT to:<[email protected]>

Data

From:[email protected]

To:[email protected]

Subject:test Mail

This is Test mail!

. Notice there's a point here, the meaning of the end;

Status Code Description:
220: Service Ready
250: Request mail action is correct, complete (helo,mail from,rcpt to,quit instruction execution succeeds return this information)
235: Certification passed
221: Processing
354: Start sending data, end with. (This information is returned when the data instruction executes successfully)
500: syntax error, command not recognized
550: The command cannot be executed, the mailbox is invalid
552: Interrupt Processing: User exceeds file space

This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1549326

Use Telnet to log in to the SMTP service to send mail

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.