Download the PHP package vivlong/phalapi-xmailer without Composer
On this page you can find all versions of the php package vivlong/phalapi-xmailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vivlong/phalapi-xmailer
More information about vivlong/phalapi-xmailer
Files in vivlong/phalapi-xmailer
Download vivlong/phalapi-xmailer
More information about vivlong/phalapi-xmailer
Files in vivlong/phalapi-xmailer
Vendor vivlong
Package phalapi-xmailer
Short Description PhalApi 2.x扩展类库,基于PHPMailer的邮件发送。
License MulanPSL-2.0
Homepage https://www.phalapi.net/
Package phalapi-xmailer
Short Description PhalApi 2.x扩展类库,基于PHPMailer的邮件发送。
License MulanPSL-2.0
Homepage https://www.phalapi.net/
Please rate this library. Is it a good library?
Informations about the package phalapi-xmailer
PhalApi 2.x 的PHPMailer扩展
PhalApi 2.x扩展类库,基于PHPMailer的邮件发送,增加自定义端口与发送附件支持。
安装和配置
修改项目下的composer.json文件,并添加:
然后执行,如果PHP版本过低,可使用。
安装成功后,添加以下配置到./config/app.php文件:
注册
在./config/di.php文件中,注册邮件服务:
使用
如下代码示例:
如果需要发送邮件给多个邮箱时,可以使用数组,如:
All versions of phalapi-xmailer with dependencies
PHP Build Version
Package Version
The package vivlong/phalapi-xmailer contains the following files
Loading the files please wait ....