dustinmoorman/mandrill

Simple Mandrill script.

dev-master 2016-04-16 23:31 UTC

This package is not auto-updated.

Last update: 2024-05-06 23:58:43 UTC


README

License

Mandrill PHP client.

Easy to use

   include 'Mandrill.php';

   $m = new \Dustinmoorman\Mandrill\Mandrill(
       'Dustin Moorman',
       'from_address@example.com', 
       'reply_to_me@example.com', 
       '5555MandrillApiKey5555555ANJCuUF-qg'
   );
 
   $m->setTitle('Test Email');
   $m->setHTML('<div>Sending a test email.</div>');
   $m->addRecipient('mistayayha@gmail.com', 'Yishai');
   $m->send();