[BUGFIX] Always use system getFrom() when sending emails
[Packages/TYPO3.CMS.git] / typo3 / sysext / version / Classes / Hook / DataHandlerHook.php
index 6d328b3..8ae7778 100644 (file)
@@ -656,7 +656,6 @@ class DataHandlerHook
                 }
                 $mail->setTo($recipient)
                     ->setSubject($emailSubject)
-                    ->setFrom(\TYPO3\CMS\Core\Utility\MailUtility::getSystemFrom())
                     ->setBody($emailMessage);
                 $mail->send();
             }