Add Mailgun API as mail transport
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user