musingsz / aliyun-push-mail
Aliyun push mail
0.8
2017-03-13 09:33 UTC
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2025-04-02 21:52:35 UTC
README
require: "musingsz/aliyun-push-mail":"*"
'aliyun-mail' => [ 'accessKey' => 'XXXXXXXXXXXXXXX', 'accessSecret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXX', 'accountName' => 'xxxxxxx@mail.xxxyu.com', 'fromAlias' => 'Crewing' ]
use Sanyc\Aliyun\AliyunEmail; $mail = AliyunEmail::init(Yii::$app->params['aliyun-mail'])->send('xxx@gmial.com', 'title', 'body')