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:
		@@ -137,7 +137,6 @@ EOBODY;
 | 
			
		||||
      ->addRawTos(array($address))
 | 
			
		||||
      ->setSubject('[Phabricator] Email Verification')
 | 
			
		||||
      ->setBody($body)
 | 
			
		||||
      ->setFrom($user->getPHID())
 | 
			
		||||
      ->setRelatedPHID($user->getPHID())
 | 
			
		||||
      ->saveAndSend();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user