Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/configuring_outbound_email.diviner
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | - `media`: Optional list<string>. Some mailers support delivering multiple | ||||
of media types. | of media types. | ||||
The `type` field can be used to select these third-party mailers: | The `type` field can be used to select these third-party mailers: | ||||
- `mailgun`: Use Mailgun. | - `mailgun`: Use Mailgun. | ||||
- `ses`: Use Amazon SES. | - `ses`: Use Amazon SES. | ||||
- `sendgrid`: Use SendGrid. | - `sendgrid`: Use SendGrid. | ||||
- `postmark`: Use Postmark. | - `postmark`: Use Postmark. | ||||
- `sns`: Use Amazon SNS (only for sending SMS messages). | |||||
epriestley: (I'll hit this document a bit more broadly for SMS in general at some point, too.) | |||||
It also supports these local mailers: | It also supports these local mailers: | ||||
- `sendmail`: Use the local `sendmail` binary. | - `sendmail`: Use the local `sendmail` binary. | ||||
- `smtp`: Connect directly to an SMTP server. | - `smtp`: Connect directly to an SMTP server. | ||||
- `test`: Internal mailer for testing. Does not send mail. | - `test`: Internal mailer for testing. Does not send mail. | ||||
You can also write your own mailer by extending `PhabricatorMailAdapter`. | You can also write your own mailer by extending `PhabricatorMailAdapter`. | ||||
▲ Show 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | To use this mailer, set `type` to `ses`, then configure these `options`: | ||||
- `secret-key`: Required string. Your Amazon SES secret key. | - `secret-key`: Required string. Your Amazon SES secret key. | ||||
- `endpoint`: Required string. Your Amazon SES endpoint. | - `endpoint`: Required string. Your Amazon SES endpoint. | ||||
NOTE: Amazon SES **requires you to verify your "From" address**. Configure | NOTE: Amazon SES **requires you to verify your "From" address**. Configure | ||||
which "From" address to use by setting `metamta.default-address` in your | which "From" address to use by setting `metamta.default-address` in your | ||||
config, then follow the Amazon SES verification process to verify it. You | config, then follow the Amazon SES verification process to verify it. You | ||||
won't be able to send email until you do this! | won't be able to send email until you do this! | ||||
Mailer: Amazon SNS | |||||
================== | |||||
Amazon SNS is Amazon's cloud notification service. You can learn more at | |||||
<http://aws.amazon.com/sns/>. Note that this mailer is only able to send | |||||
Done Inline ActionsLink to SES instead of SNS? epriestley: Link to SES instead of SNS? | |||||
Done Inline ActionsHahah I noticed both of these right after submitting. amckinley: Hahah I noticed both of these right after submitting. | |||||
SMS messages, not emails. | |||||
To use this mailer, set `type` to `sns`, then configure the options similarly | |||||
to the SES configuration above. | |||||
Done Inline Actions"to the SES configuration"? epriestley: "to the SES configuration"? | |||||
Mailer: SendGrid | Mailer: SendGrid | ||||
================ | ================ | ||||
SendGrid is a third-party email delivery service. You can learn more at | SendGrid is a third-party email delivery service. You can learn more at | ||||
<http://sendgrid.com/>. | <http://sendgrid.com/>. | ||||
You can configure SendGrid in two ways: you can send via SMTP or via the REST | You can configure SendGrid in two ways: you can send via SMTP or via the REST | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |
(I'll hit this document a bit more broadly for SMS in general at some point, too.)