From e22da9d32addefa8d739171febcf6f6d0c06ba7b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 7 Jun 2015 22:17:50 -0400 Subject: Add Mailgun API as mail transport --- app/Core/EmailClient.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Core/EmailClient.php') diff --git a/app/Core/EmailClient.php b/app/Core/EmailClient.php index 980f5acc..07687c42 100644 --- a/app/Core/EmailClient.php +++ b/app/Core/EmailClient.php @@ -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; -- cgit v1.2.3