Page MenuHomePhabricator

Clean up numerous rough edges in Mail configuration
ClosedPublic

Authored by epriestley on Apr 21 2014, 9:42 PM.
Tags
None
Referenced Files
F14036143: D8832.diff
Sun, Nov 10, 8:41 AM
F14029967: D8832.diff
Fri, Nov 8, 10:37 PM
F14029852: D8832.diff
Fri, Nov 8, 9:52 PM
F14015804: D8832.id20965.diff
Mon, Nov 4, 12:58 AM
F14013821: D8832.id20965.diff
Sat, Nov 2, 4:17 PM
F13999160: D8832.id20965.diff
Thu, Oct 24, 1:07 PM
F13982847: D8832.id20965.diff
Sun, Oct 20, 2:24 AM
F13966658: D8832.id.diff
Wed, Oct 16, 9:01 AM
Subscribers
Tokens
"Haypence" token, awarded by chad."Pterodactyl" token, awarded by epriestley.

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
mail1
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/metamta/storage/PhabricatorMetaMTAMail.php:626XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 34
Build 34: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Clean up numerous rough edges in Mail configuration.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 21 2014, 10:43 PM
epriestley updated this revision to Diff 20965.

Closed by commit rPfcf5149b3648 (authored by @epriestley).

SORRY CHAD I WILL PUSH SO YOU CAN GET YOUR TRANSACTIONS