1. Download Phpmailer class Package
Download Address
Https://code.google.com/a/apache-extras.org/p/phpmailer
Note put the file in: thinkphp/extend/vendor/phpmailer/class.phpmailer.php
2.
SendMail (,,' Phpmailer.class#phpmailer '= - ->charset= ' UTF-8 ' ->addaddress ( ->body= ->from=c (' mail_address '
->fromname= ' lilyrecruit '
< Span Settings Message title span> ->subject=
->host=c (' mail_smtp '
->smtpauth=
->username=c (' Mail_loginname '
->password=c (' Mail_password '
(->
/span>
3. Send $this->sendmail ("zg@126.cn", "title", "Bodyinfo");
http://www.bkjia.com/PHPjc/747272.html www.bkjia.com true http://www.bkjia.com/PHPjc/747272.html techarticle 1. Download the Phpmailer class pack download address Https://code.google.com/a/apache-extras.org/p/phpmailer Note the file: thinkphp/extend/vendor/ Phpmailer/class.phpmailer.php 2. SENDMA ...