1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Set 'From' correctly in MetaMTA.

This commit is contained in:
epriestley 2011-01-26 16:02:12 -08:00
parent ccf7df6093
commit d37692ac06

View file

@ -29,8 +29,7 @@ class PhabricatorMetaMTASendController extends PhabricatorMetaMTAController {
$mail->setSubject($request->getStr('subject')); $mail->setSubject($request->getStr('subject'));
$mail->setBody($request->getStr('body')); $mail->setBody($request->getStr('body'));
// TODO! $mail->setFrom($request->getUser()->getPHID());
// $mail->setFrom($request->getViewerContext()->getUserID());
$mail->setSimulatedFailureCount($request->getInt('failures')); $mail->setSimulatedFailureCount($request->getInt('failures'));
$mail->setIsHTML($request->getInt('html')); $mail->setIsHTML($request->getInt('html'));
$mail->save(); $mail->save();