Download the PHP package wq2010feng/thinkphp-mailer without Composer
On this page you can find all versions of the php package wq2010feng/thinkphp-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wq2010feng/thinkphp-mailer
More information about wq2010feng/thinkphp-mailer
Files in wq2010feng/thinkphp-mailer
Download wq2010feng/thinkphp-mailer
More information about wq2010feng/thinkphp-mailer
Files in wq2010feng/thinkphp-mailer
Vendor wq2010feng
Package thinkphp-mailer
Short Description 一个基于phpmailer和thinkphp6的邮件发送工具。
License Apache-2.0
Package thinkphp-mailer
Short Description 一个基于phpmailer和thinkphp6的邮件发送工具。
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package thinkphp-mailer
wq2010feng/thinkphp-mailer
基于phpmailer定制的邮件发送类
使用方法
use think\keefe\Mailer;
Mailer::init()
->addAddress('[email protected]', 'mail')
->addCC('[email protected]', 'mail')
->addBCC('[email protected]', 'mail')
->addReplyTo('[email protected]', 'mail')
->isHtml('标题', '内容', 'HTML不可用时显示此内容') // 或 ->isText('标题', '内容')
->send();
// 或
Mailer::sendMail([
'to' => ['address'=>'[email protected]', 'name'=>'name'],
'cc' => [
['address'=>'[email protected]', 'name'=>'name'],
['address'=>'[email protected]', 'name'=>'name2']
],
'bcc' => ['address'=>'[email protected]', 'name'=>'name'],
'reply' => ['address'=>'[email protected]', 'name'=>'name'],
'mail' => ['type'=>'text|html', 'title'=>'标题', 'body'=>'内容', 'AltBody'=>'HTML不可用时显示此内容']
]);
All versions of thinkphp-mailer with dependencies
PHP Build Version
Package Version
The package wq2010feng/thinkphp-mailer contains the following files
Loading the files please wait ....