SMTP mail Send command

Source: Internet
Author: User

The first step is to telnet to the SMTP server
in the Command Line window, enter Telnet smtp.163.com 25 and Enter
The second step, the user login
Enter Helo 163.com carriage return, which is to indicate your user identity to the server
A confirmation message returned by the server stating that your identity was recognized by the server
Enter Auth login, which tells the server that you want to enter a user name (that is, the user name when you log in to the mailbox), and the server returns a confirmation message 334
At this point you can enter the user name, note that the user name needs to be encoded in order to recognize, that is, if your user name is [email protected] then you need to fatbear base64 encoding, the results of the code into the Command prompt window. The Base64 encoder can be used on the Internet and is a simple gadget.
after the user name has been entered successfully, the server returns a 334 confirmation message.
after the user name is entered successfully, then enter the password, the password also needs to be Base64 encoded and then input. After the input is successful, the server returns a message with ' successful ' indicating a successful login.
step three, write a letter
Enter mail from:< > return <> fill in the sender's mailbox, which is your own mailbox name
Enter RCPT to:< > enter <> fill in the recipient's mailbox
Enter the data carriage return and you can start to write the contents of the message.
the following options are available under data:
Enter from: Sender name, which can be filled in, and will be displayed in the ' From ' column of the Inbox
Enter to: Recipient name, can be filled in, will be displayed in the Inbox ' Recipients ' column
Enter Subject: A letter subject, displayed in the ' Subject ' column of your inbox
content-type:text/plain;charset=\ "Gb2312\
a blank line is required, that is, a direct carriage return in a blank row, indicating the beginning of the body part
Enter the body content of the letter after a blank line.
at the end of the body input, enter a. (Period under English Input method) carriage return, which indicates the end of the body part. This will display the message that was sent successfully.
the question about the text input Chinese characters,
in the window under the view can not input Chinese characters, in the WordPad to play a good Chinese characters after the copy and paste in, and paste can only use the right mouse button and can not use shortcut keys, at least I do not.

SMTP mail Send command

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.