1. Introduction
The goal of Simple Mail Transfer Protocol (SMTP) is to transmit mail reliably and efficiently, which is independent of the transfer protocol.The delivery subsystem only requires a channel that can ensure the sequence of transmitted
Keyword: VC ++ SMTP protocol Email Delivery analysis this article introduces a method to implement Email Delivery in a program using SMTP protocol specifications and using SMTP protocol commands directly. Some key implementation code is provided in
Simple Mail Transfer Protocol (SMTP)
1.Introduction
The goal of Simple Mail Transfer Protocol (SMTP) is to deliver mail reliably and efficiently. It is independent of the transfer subsystem and requires only one channel that can ensure the order of
Simple Mail Transfer Protocol (SMTP)
1. introduce
The goal of Simple Mail Transfer Protocol (SMTP) is to deliver mail reliably and efficiently, independent of the transport subsystem and requiring only one channel that guarantees the order in which
3. 7. the domain was recently introduced to the ARPAInternet email system. The domain can be used to change the address space from a flat string host name to a global address level. A host is replaced by a domain name. The starting host is composed
When you are still in the tangle php built-in mail () function can not send mail, then you are very lucky now, this article can help you!
PHP uses the SMTP class to send mail is very good, I used a long time, basically did not have a problem. This
PHP sends mail through SMTP through a class SMTP The code to send the message is as follows:
Require_once ' smtp.php ';
##########################################
$smtpserver = "smtp.sina.com";//SMTP server
RFC821-Simple Mail Transfer Protocol SMTP Chinese version-1. 3. 7. the domain was recently introduced to the ARPAInternet email system. The domain can be used to change the address space from a flat string host name to a global address level. Host 3.
Only then can we find that we can use telnet to interact with the SMTP server. The ms smtm server also provides a command line interface.The http server can also be operated through TELNET, but there is no command line echo.
Use Telnet for SMTP //
smtp.php
Copy CodeThe code is as follows:
Class SMTP
{
/* Public Variables */
var $smtp _port;
var $time _out;
var $host _name;
var $log _file;
var $relay _host;
var $debug;
var $auth;
var $user;
var $pass;
/* Private Variables */
var $sock;
/*
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.