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:
parent
ccf7df6093
commit
d37692ac06
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue