SMTP-based cmd command email sending

Source: Internet
Author: User

There are a lot of such articles on the Internet to refer to these articles and the results of their actual operation. The system uses the win7 flagship edition.

1. Open the CMD command and connect to the SMTP server. For example, to connect to the SMTP service of QQ, enter the command Telnet smtp.qq.com 25. For details, see. 25 is the default port of SMTP protocol,

For more information about the default ports of each protocol, see http://blog.csdn.net/xxdddail/article/details/9408491.

2. SMTP command-based operations, see (with base64 encoding and decoding website http://base64.xpcha.com /)

NOTE: If helo hello is entered during identity confirmation with the server, the returned results as shown in can be displayed, and subsequent operations will not change.

3. Description of SMTP return code

501 Incorrect Parameter format
502 commands cannot be implemented
503 error command sequence
504 command parameters cannot be implemented
211 system status or system help response
214 help information
220 <domain> the service is ready.
221 <domain> service closed
421 <domain> the service is not ready. Disable the transmission channel.
250 the required email operation is completed
251 if the user is not local, the forwarding will be forwarded to <forward-path>
450 the requested email operation is incomplete and the email address is unavailable
550 the requested email operation is incomplete and the email address is unavailable
451 discard required operations; errors occurred during handling
551 if the user is not local, try <forward-path>
452 the system storage is insufficient and the required operations are not performed
552 excessive storage allocation, required operations not performed
553 the mailbox name is unavailable and the requested operation is not performed
354 start email input, ended "."
554 operation failed

Related Article

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.