summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-07 22:17:50 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-07 22:17:50 -0400
commite22da9d32addefa8d739171febcf6f6d0c06ba7b (patch)
treeaffb9f8729ac9d4f07dd7f24dff39bfaa9cda0ff /docs
parent4f32352fe62e47ad5ea760eb00493bdc061b2407 (diff)
Add Mailgun API as mail transport
Diffstat (limited to 'docs')
-rw-r--r--docs/email-configuration.markdown21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/email-configuration.markdown b/docs/email-configuration.markdown
index 33d921bb..0d16a2fb 100644
--- a/docs/email-configuration.markdown
+++ b/docs/email-configuration.markdown
@@ -20,6 +20,7 @@ There are several email transports available:
- SMTP
- Sendmail
- PHP native mail function
+- Mailgun
- Postmark
Server settings
@@ -75,6 +76,26 @@ This is the default configuration:
define('MAIL_TRANSPORT', 'mail');
```
+### Mailgun HTTP API
+
+You can use the HTTP API of Mailgun to send emails.
+
+Configuration:
+
+```php
+// We choose "mailgun" as mail transport
+define('MAIL_TRANSPORT', 'mailgun');
+
+// Mailgun API key
+define('MAILGUN_API_TOKEN', 'YOUR_API_KEY');
+
+// Mailgun domain name
+define('MAILGUN_DOMAIN', 'YOUR_DOMAIN_CONFIGURED_IN_MAILGUN');
+
+// Be sure to use the sender email address configured in Mailgun
+define('MAIL_FROM', 'sender-address-configured-in-postmark@example.org');
+```
+
### Postmark HTTP API
Postmark is a third-party email service.