PHPMailer Development Edition
-
ID : phpmailer -
edition : one point four -
author : Windy net ( Author website ) -
Official website : https://kfuu.cn -
system requirements : Z-BlogPHP 1.5.2 Zero -
Update Date : 2019-11-02 15:29:42 Long time no update -
amount of downloads : five thousand and thirty-two -
Scoring : The average score of 8 people voting is 10/10 -
PHP version : 5.4 and higher -
size : 357KB
Recipient parameters:
phpmailer(' admin@zblog.com ',..,..);
phpmailer(array(' admin@zblog.com ',' service@zblog.com '),..,..);
phpmailer(array(' admin@zblog.com ','cc' => ' service@zblog.com '),..,..);
phpmailer(array(' admin@zblog.com ','cc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);
phpmailer(array(' admin@zblog.com ','bcc' => ' service@zblog.com '),..,..);
phpmailer(array(' admin@zblog.com ','bcc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);
phpmailer(array(' admin@zblog.com ','cc' => ' service@zblog.com ','bcc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);
Attachment parameters:
phpmailer(...,..,..,'/home/www/seo.zba');
phpmailer(...,..,..,array('/home/www/seo.zba','/home/www/qq.zba'));
phpmailer(...,..,..,array('/home/www/seo.zba' => 'myseo.zba')); phpmailer(...,..,..,array('/home/www/seo.zba','/home/www/qq.zba' => 'myqq.zba'));
Advanced usage:
$m = new phpmailer; $m->receiver = ' xxx@aliyun.com '; //You can also add multiple mailboxes according to the above method $m ->title='Mail title'; $m ->content='Message body'; $m->attach = '/home/www/lcp.zba'; //(Optional) You can also add multiple attachments according to the above method $m->sendInterval = 60; //(Optional) Messages are not allowed to be sent within 60 seconds under the same IP address. If this attribute is not set, there is no limit $m->limitDays = 5; //(Optional) When the number of messages sent from the same IP reaches this value, messages are not allowed to be sent. If this attribute is not set, there is no limit $m ->sendIntervalMsg='% tNo sending again within seconds'; //(Optional) Customize the error message thrown $m ->limitDaysMsg='The number of messages sent by this IP today has reached the upper limit'; //(Optional) Customize the error message thrown $m ->sendErrorMsg='Mail sending failed:% s'; //(Optional) Customize the error message thrown $m->throwException = true; //(Default value: false) When it is set to true, if the sending fails, the above three error messages will be thrown directly; When it is set to 'string', sending fails. The return value of the Send() method is the above three strings. If it succeeds, it returns true $m->Send(); //Send mail, return the value of true or false or string
Update log:
one point four
one point three
one point two
one point one