PHP code example of beanstalkhq / laramandrill
1. Go to this page and download the library: Download beanstalkhq/laramandrill 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/ */
beanstalkhq / laramandrill example snippets
$response = Laramandrill::request('post', 'messages/send', array(
'message' => array(
'html' => 'Body of the message.',
'subject' => 'Subject of the message.',
'from_email' => '[email protected]',
'to' => array(array('email'=>'[email protected]')),
),
));