A WireMail implementation using the Mandrill HTTP API
This module is an extension for the WireMail class to utilise the Mandrill HTTPS API.
It includes the official Mandrill PHP API client library.
/site/modules/WireMailMandrill/
Settings
All messaging functions throughout the site that use WireMail or wireMail() when this module is installed.
$mail = wireMail(); $mail->from('john.hammond@jurassicpark.com', 'John Hammond'); $mail->to('alan.grant@dinosaurfun.com', 'Alan Grant'); $mail->subject('The park is open'); $mail->bodyHTML($bodyHTML); // Add an attachment $mail->attachment($somePage->files->first()->filename); $count = $mail->send();
GPLv2
All modules by Craig Rodway
Install and use modules at your own risk. Always have a site and database backup before installing new modules.