PHP code example of hachi-zzq / laravel-aliyun-mailer

1. Go to this page and download the library: Download hachi-zzq/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/ */

    

hachi-zzq / laravel-aliyun-mailer example snippets




/**
 * 阿里云参数配置
 */
return [
    /**
     * access_key_id
     */
    'access_key_id'     => 'access_key_id',

    /**
     * access_key_secret
     */
    'access_key_secret' => 'access_key_secret',

    'response_type' => 'collection',

    /**
     * 邮件推送服务
     */
    'direct_mail'   => [

        /**
         * 发信人,必须与阿里云后台配置的发信人一致
         */
        'from'          => '',

        /**
         * 发信人昵称
         */
        'from_alias'    => '',

        /**
         * 回信地址
         */
        'reply_address' => false
    ]
];



 Hachi\LaravelAliyunMailer\ServiceProvider::class