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

@@ -126,7 +126,7 @@ class Webhook extends Base
$this->response->text('Not Authorized', 401);
}
echo $this->mailgunWebhook->parsePayload($_POST) ? 'PARSED' : 'IGNORED';
echo $this->mailgun->receiveEmail($_POST) ? 'PARSED' : 'IGNORED';
}
/**