PHP code example of greenhat616 / laravel-directmail

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

    

greenhat616 / laravel-directmail example snippets


	'directmail' => [
    	'access_secret_id' => env('DIRECT_MAIL_ACCESS_SECRET_ID'),
    	'access_key_secret' => env('DIRECT_MAIL_ACCESS_SECRET_KEY'),
    	'region' => 'cn-hangzhou',
    	'account_name' => env('DIRECT_MAIL_ACCOUNT_NAME'),
    	'reply_to' => env('DIRECT_MAIL_REPLY_TO'),
    	'from_alias' => env('DIRECT_MAIL_ACCOUNT_ALIAS'),
	],