Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/configuring_outbound_email.diviner
| Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | |||||
| = Adapter: Disable Outbound Mail = | = Adapter: Disable Outbound Mail = | ||||
| You can use the @{class:PhabricatorMailImplementationTestAdapter} to completely | You can use the @{class:PhabricatorMailImplementationTestAdapter} to completely | ||||
| disable outbound mail, if you don't want to send mail or don't want to configure | disable outbound mail, if you don't want to send mail or don't want to configure | ||||
| it yet. Just set **metamta.mail-adapter** to | it yet. Just set **metamta.mail-adapter** to | ||||
| "PhabricatorMailImplementationTestAdapter". | "PhabricatorMailImplementationTestAdapter". | ||||
| = Configuring MetaMTA to Send Mail Using a Daemon = | |||||
| Regardless of how you are sending outbound email, you can move the handoff to | |||||
| the MTA out of the main process and into a daemon. This will greatly improve | |||||
| application performance if your mailer is slow, like Amazon SES. In particular, | |||||
| commenting on Differential Revisions and Maniphest Tasks sends outbound email. | |||||
| If you set **metamta.send-immediately** to ##false## in your configuration, | |||||
| MetaMTA will queue mail to be send by a PhabricatorTaskmasterDaemon. | |||||
| For more information on using daemons, see @{article:Managing Daemons with phd}. | |||||
| = Testing and Debugging Outbound Email = | = Testing and Debugging Outbound Email = | ||||
| You can use the `bin/mail` utility to test, debug, and examine outbound mail. In | You can use the `bin/mail` utility to test, debug, and examine outbound mail. In | ||||
| particular: | particular: | ||||
| phabricator/ $ ./bin/mail list-outbound # List outbound mail. | phabricator/ $ ./bin/mail list-outbound # List outbound mail. | ||||
| phabricator/ $ ./bin/mail show-outbound # Show details about messages. | phabricator/ $ ./bin/mail show-outbound # Show details about messages. | ||||
| phabricator/ $ ./bin/mail send-test # Send test messages. | phabricator/ $ ./bin/mail send-test # Send test messages. | ||||
| Show All 14 Lines | |||||