qu-modules / qu-phpmailer
PHPMailer 的 ZF2 模块
dev-master
2012-11-27 19:33 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2024-09-14 13:50:52 UTC
README
PHPMailer 的 ZF2 模块
发行说明
1.0.0-dev
- 在 zf2 中初始化 PHPMailer
要求
- ZendSkeletonApplication https://github.com/zendframework/ZendSkeletonApplication
安装
- 将文件夹拖入模块文件夹或 vendor 文件夹
- 在 application.config.php 中启用模块
使用 Composer 安装
如果不知道 composer,请查看信息并克隆 git
cd YourFolderProject/
php composer.phar require "qu-modules/qu-phpmailer":"dev-master"
集成
$sm = $this->getServiceLocator(); $mail = $sm->get('QuPHPMailer'); $mail = $mail->Mail(); $mail->Send();
参考 PHPMailer 中的使用方法和条件
- 查看 QuPHPMailer/src/PHPMailer 中的 README