PHP code example of foxxmd / laravel-mail-extras

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

    

foxxmd / laravel-mail-extras example snippets


composer 

\FoxxMD\LaravelMailExtras\LaravelMailExtrasServiceProvider::class,

'retries' => 3

'exceptions' => [
    'mailFailure' => true, // will throw a MailFailureExeption if any exception is thrown during sending mail
    'deliveryFailure' => false // will throw a MailDeliveryException if any recipients fail to recieve mail during delivery
]