koldy/phpmailer
最新稳定版本:0.2.0
Composer 安装命令:
composer require koldy/phpmailer
包简介
An extension to Koldy Framework that brings integration for PHPMailer
关键字:
README 文档
README
Use this package to integrate PHPMailer with your project built on top of Koldy Framework. Minimum PHP version is PHP 8.1. This package is using PHPMailer to send emails via SMTP only.
Installation
composer require koldy/phpmailer
Configuration
In your project's config folder (usually configs/mail.php), add the following block:
'phpmailer' => [ 'enabled' => true, 'adapter_class' => \KoldyPHPMailer\PHPMailer::class, 'options' => [ 'host' => 'your.domain.com', // required 'port' => 465, // required 'username' => 'your.username', // optional 'password' => 'your.password', // optional 'from' => 'no-reply@your.domain.com', // optional 'fromName' => 'Your Name', // optional 'adjust' => function ($phpmailer) { // optional // you can adjust the PHPMailer's instance here, for example: $phpmailer->SMTPDebug = \PHPMailer\PHPMailer\SMTP::DEBUG_SERVER; } ] ]
Licence
Open sourced and published under MIT licence.
统计信息
- 总下载量: 165
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-25