How to use Phpmailer to achieve mail delivery?? , Phpmailer Mail
Source: http://www.ido321.com/1103.html
Send mail is a common function, LZ today in the project also met, hereby share.
First, go to download Phpmailer
1,
Three points
1.SMTP Protocol
2. Build local mail server
3. Use external mail server to implement mail function
1.SMTP ProtocolThe SMTP (Simple Mail Transfer Protocol) is simply a mail Transfer protocol, a set of rules for sending
One, the e-mail system consists of five parts:
MUA ( Mail User Agent ) Mail User agent
mua
Common tools: foxmail , outlook , webmail , mail Command and so on. Send mail using protocol: smtp
Objective:yesterday with a mobile phone accidentally point a Bo asked, saw a friend asked a question about PHP send email can not add the name of the problem, try to read the code, feel that they found the problem, who knows just smattering didn't
In PHP, you provide a mail-sending function mail function that sends e-mail directly in your program, but it requires the server to support SendMailOr you must set up a mail-sending server that does not require relaying, but it is almost impossible
server | mail server
E-mail occupies a very important place in the network. At present, the mail server running in the enterprise use their own independent management system to achieve account creation, password modification, mailbox expansion,
To send a message, you first have to figure out what the stack of different protocols are. The following paragraph refers to NetEase
POP3
POP3 is the Post Office Protocol 3 abbreviation, the 3rd version of the Post Office Protocol, which provides a
Source: http://www.ido321.com/1103.htmlSend mail is a common function, LZ today in the project also met, hereby share.First, go to download Phpmailer1, Https://github.com/dwqs/PHPMailer2, http://download.csdn.net/detail/u011043843/8063583After
Source: http://www.ido321.com/1103.htmlSend mail is a common function, LZ today in the project also met, hereby share.First, go to download Phpmailer1, Https://github.com/dwqs/PHPMailer2, http://download.csdn.net/detail/u011043843/8063583After
In fact, as long as you capricious can, with Telnet is also able to send an e-mail. But the cat is not so capricious, or use the KISS principle to send mail it. This blog post only describes how to send e-mail, but does not involve the mail, the
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.