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

@@ -36,7 +36,7 @@ class Postmark extends \Core\Base
'HtmlBody' => $html,
);
$this->httpClient->post('https://api.postmarkapp.com/email', $payload, $headers);
$this->httpClient->postJson('https://api.postmarkapp.com/email', $payload, $headers);
}
/**