Homec4science

Clean up numerous rough edges in Mail configuration

Authored by epriestley <git@epriestley.com> on Apr 22 2014, 00:45.

Description

Clean up numerous rough edges in Mail configuration

Summary:

  • Support file attachments in Mailgun, after D8831.
  • Fix bin/mail send-test --attach ... flag.
  • Make bin/mail send-test route mail through the daemons.
  • Remove the workerTaskID on MetaMTAMail, which is only used (needlessly) by bin/mail resend and creates a huge mess elsewhere.
  • Currently, when mail fails, the daemon exits with a very generic and useless message. Instead, make sendNow() throw when it fails, so the real reason is surfaced. This is OK now because mail is always sent via the daemons.
  • Now that Mailgun supports attachments, document it.
  • Update a bunch of mail docs.

Test Plan:

  • Sent mail.
  • Sent mail with attachments.
  • Read documentation.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8832

Details

Committed
epriestley <git@epriestley.com>Apr 22 2014, 00:45
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc00733a292e8: Project - add editor-level support for detecting name conflicts
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHfcf5149b3648: Clean up numerous rough edges in Mail configuration (authored by epriestley <git@epriestley.com>).Apr 22 2014, 00:45