1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/metamta
epriestley 98c8e150b0 Prevent delivery of email to disabled objects
Summary: See T625. Facebook's REST-based MTA layer had a check for this so I
overlooked it in porting it out. We should not attempt to deliver email to
disabled users.

Test Plan:
Used MetaMTA console to send email to:

  - No users: received "no To" exception.
  - A disabled user: received "all To disabled" exception.
  - A valid user: received email.
  - A valid user and a disabled user: received email to valid user only.

(Note that you can't easily send to disabled users directly since they don't
appear in the typeahead, but you can prefill it and then disable the user by
hitting "Send".)

Reviewers: btrahan, jungejason, nh, tuomaspelkonen, aran

Reviewed By: aran

CC: skrul, aran, epriestley

Differential Revision: 1120
2011-11-16 11:07:50 -08:00
..
adapter Add attchment support to SendGridAdapter 2011-11-08 14:28:10 -08:00
contentsource Add "Fax" content source 2011-09-01 12:27:45 -07:00
controller Allow tweaking of Differential mail by using events 2011-11-09 10:13:53 -08:00
daemon/mta Use PhabricatorDaemon for sending emails. 2011-03-17 18:40:17 -07:00
parser Fix reply email parsing for linebreaks in "On <date>, <user> wrote:" quote 2011-06-02 16:59:17 -07:00
replyhandler/base Enable support for a single reply-handler for outbound emails 2011-08-22 10:20:49 +02:00
storage Prevent delivery of email to disabled objects 2011-11-16 11:07:50 -08:00