PHP code example of vagh / laravel-aliyun-mailer
1. Go to this page and download the library: Download vagh/laravel-aliyun-mailer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vagh / laravel-aliyun-mailer example snippets
'ali_mail' => [
// 阿里云用户AccessKey
'access_key' => '****',
// 阿里云用户AccessSecret
'access_key_secret' => '****',
// 对应资源区域
'region_id' => 'cn-hangzhou',
// 发信人昵称 长度小于15个字符
'from_alias' => 'BigYu',
// 发件人地址 一般在邮件后台设置好
'from_address' => '****@mail.vagh.cn',
],