Use Socket to send email 3

Source: Internet
Author: User
Below is a simple command header (this is done after opening the socket), is the test result of my mail to stmp.263.net: HELOlimodou250smtp. 263. netMAILFROM: chatme@263.net250OkRCPTTO: chatme@263.net250OkDATA354Enddatawi

Below is a simple command header (this is done after opening the socket), which is the test result of sending an email to stmp.263.net:
HELO limodou
250 smtp.263.net
Mail from: chatme@263.net
250 OK
Rcpt to: chatme@263.net
250 OK
DATA
354 End data.
To: chatme@263.net
From: chatme@263.net
Subject: test
From: chatme@263.net
Test
.
QUIT
250 OK: queued as C46411C5097E0
This is some simple SMTP knowledge. For more information, see RFC.
RFC 821 defines instructions for receiving/sending emails.
In RFC 822, an email is specified? Capacity format.
Does the RFC 2045-2048 define multimedia mail? Capacity format,
RFC 1113,142-discusses how to enhance the confidentiality of emails.

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.