Homec4science

Clean up and expose filtered recipient lists for PhabricatorMetaMTAMail

Authored by epriestley <git@epriestley.com> on Oct 23 2012, 01:25.

Description

Clean up and expose filtered recipient lists for PhabricatorMetaMTAMail

Summary: Provide a public interface to get all the filtered recipients of an email. The intent is to pass this along to Notifications so it can mark notifications as read if the user is also receiving an email, possibly based on some preference (see T1403). This also simplifies the enormous sendNow() method a little bit.

Test Plan: Added unit tests, and sent a few mails that should cover most/all of these cases. They appeared to produce the correct recipients.

Reviewers: btrahan, vrana, nh

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1403

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

Details

Committed
epriestley <git@epriestley.com>Oct 23 2012, 01:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc679b7827069: Fix some Editor issues
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH90ccfe4da1fd: Clean up and expose filtered recipient lists for PhabricatorMetaMTAMail (authored by epriestley <git@epriestley.com>).Oct 23 2012, 01:25