PHP code example of petrvacha / mandrill-api-php-ssl

1. Go to this page and download the library: Download petrvacha/mandrill-api-php-ssl 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/ */

    

petrvacha / mandrill-api-php-ssl example snippets


$yourKey = "yourSecretMandrillKey";
$mandrill = new Mandrill($yourKey);

$yourKey = "yourSecretMandrillKey";
$absolutePathToCaCert = "/etc/ssl/certs/cacert.pem";
$mandrill = new Mandrill($yourKey, $absolutePathToCaCert);

composer