diff --git a/src/applications/metamta/controller/send/PhabricatorMetaMTASendController.php b/src/applications/metamta/controller/send/PhabricatorMetaMTASendController.php index 972e1466cd..a33dd62d6a 100644 --- a/src/applications/metamta/controller/send/PhabricatorMetaMTASendController.php +++ b/src/applications/metamta/controller/send/PhabricatorMetaMTASendController.php @@ -29,8 +29,7 @@ class PhabricatorMetaMTASendController extends PhabricatorMetaMTAController { $mail->setSubject($request->getStr('subject')); $mail->setBody($request->getStr('body')); - // TODO! -// $mail->setFrom($request->getViewerContext()->getUserID()); + $mail->setFrom($request->getUser()->getPHID()); $mail->setSimulatedFailureCount($request->getInt('failures')); $mail->setIsHTML($request->getInt('html')); $mail->save();