Add Mailgun API as mail transport

This commit is contained in:
Frederic Guillot
2015-06-07 22:17:50 -04:00
parent 4f32352fe6
commit e22da9d32a
15 changed files with 153 additions and 33 deletions

View File

@@ -31,6 +31,9 @@ class EmailClient extends Base
}
switch (MAIL_TRANSPORT) {
case 'mailgun':
$this->mailgun->sendEmail($email, $name, $subject, $html, $author);
break;
case 'postmark':
$this->postmark->sendEmail($email, $name, $subject, $html, $author);
break;