PHP code example of spaanproductions / laravel-mandrill

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

    

spaanproductions / laravel-mandrill example snippets


'mandrill' => [
    'transport' => 'mandrill',
    'api-token' => env('MANDRILL_API_TOKEN'),
    'headers' => [
        // 'X-MC-ReturnPathDomain' => 'your.returndomain.com',
        // 'X-MC-PreserveRecipients' => true, // https://mailchimp.com/developer/transactional/docs/smtp-integration/#x-mc-preserverecipients
    ],
    // 'logger' => 'daily',
],