PHP code example of hafael / azure-mailer-driver

1. Go to this page and download the library: Download hafael/azure-mailer-driver 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/ */

    

hafael / azure-mailer-driver example snippets


'acs' => [
    'endpoint' => env('AZURE_COMMUNICATION_ENDPOINT'),
    'key'      => env('AZURE_COMMUNICATION_KEY'),
],

'mailers' => [
    //...other drivers

    'acs' => [
        'transport'        => 'acs',
        // 'api_version'      => '2023-03-31', // optional
        // 'disable_tracking' => false,         // optional
    ],
]