PHP code example of ibrand / laravel-aliyun-mail

1. Go to this page and download the library: Download ibrand/laravel-aliyun-mail 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/ */

    

ibrand / laravel-aliyun-mail example snippets


    'aliyunmail' => [
            'access_key' => env('ALIYUN_MAIL_ACCESS_KEY','your aliyun access key'),
            'access_secret' => env('ALIYUN_MAIL_ACCESS_SECRET','your aliyun access secret'),
            'region' => env('ALIYUN_MAIL_REGION', 'cn-hangzhou','your aliyun mail account region'),
            'account_name' => env('ALIYUN_MAIL_ACCOUNT_NAME','your aliyun mail account name'),
            'account_alias' => env('ALIYUN_MAIL_ACCOUNT_ALIAS','your aliyun mail account alias')
        ]