Page MenuHomePhabricator

Move "Password Reset" email to "PeopleMailEngine"
ClosedPublic

Authored by epriestley on Jul 19 2019, 2:17 PM.
Tags
None
Referenced Files
F15468277: D20662.id.diff
Thu, Apr 3, 10:42 PM
F15464415: D20662.diff
Wed, Apr 2, 9:16 AM
F15461864: D20662.diff
Tue, Apr 1, 12:01 PM
F15458186: D20662.id49302.diff
Sun, Mar 30, 9:32 PM
F15448024: D20662.id49288.diff
Fri, Mar 28, 2:57 AM
F15445326: D20662.diff
Thu, Mar 27, 1:27 PM
F15409867: D20662.diff
Wed, Mar 19, 5:44 AM
F15409444: D20662.diff
Wed, Mar 19, 4:31 AM
Subscribers
None

Details

Summary

Ref T13343. This makes "Password Reset" email a little more consistent with other modern types of email. My expectation is that this patch has no functional changes, just organizes code a little more consistently.

The new setRecipientAddress() mechanism deals with the case where the user types a secondary (but still verified) address.

Test Plan
  • Sent a normal "login with email" email.
  • Sent a "login with email to set password" email by trying to set a password on an account with no password yet.
  • Tried to email reset a bot account (no dice: they can't do web logins so this operation isn't valid).
  • Tested existing "PeopleMailEngine" subclasses:
    • Created a new user and sent a "welcome" email.
    • Renamed a user and sent a "username changed" email.
  • Reviewed all generated mail with bin/mail list-outbound.

Diff Detail

Repository
rP Phabricator
Branch
elogin1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23155
Build 31799: Run Core Tests
Build 31798: arc lint + arc unit