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
...
'mailers' => [
//...other drivers
'azure' => [
'transport' => 'azure',
'resource_name' => env('AZURE_MAIL_RESOURCE_NAME'),
'endpoint' => env('AZURE_MAIL_ENDPOINT', 'https://my-acs-resource-name.communication.azure.com'),
'access_key' => env('AZURE_MAIL_KEY'),
'api_version' => env('AZURE_MAIL_API_VERSION', '2023-03-31'),
'disable_user_tracking' => env('AZURE_MAIL_DISABLE_TRACKING', false),
],
]