1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

Don't send the address verification email "From" the user in question

Summary: Sending these as the user doesn't make a ton of sense, and LLVM reports some issues with these emails getting caught in spam filters. Users expect these emails, so just send them from "noreply@example.com" or whatever is configured.

Test Plan: Sent myself a verification email, verified it came from a noreply@ address.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: klimek, aran

Maniphest Tasks: T1994

Differential Revision: https://secure.phabricator.com/D3843
This commit is contained in:
epriestley 2012-10-31 09:57:40 -07:00
parent 7c99d52548
commit 7b3f7ea8f7

View file

@ -137,7 +137,6 @@ EOBODY;
->addRawTos(array($address))
->setSubject('[Phabricator] Email Verification')
->setBody($body)
->setFrom($user->getPHID())
->setRelatedPHID($user->getPHID())
->saveAndSend();