akbsit/helper-smtp
最新稳定版本:1.0.0
Composer 安装命令:
composer require akbsit/helper-smtp
包简介
Helper for work with smtp.
README 文档
README
Creating an Smtp class object by passing the connection settings to the constructor:
$oSmtpHelper = new SmtpHelper([ 'maillogin' => 'noreply@falbar.ru', 'mailpass' => '*********', 'from' => 'Falbar', 'host' => 'ssl://smtp.yandex.ru', 'port' => 465 ]);
Send Email:
$bStatus = $oSmtpHelper->send( 'akbsit@yandex.ru', 'Mail title', 'Mail text' );
If successful, it returns – true in another case – false.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-17