Skip to content
Snippets Groups Projects
Commit 8b5145fd authored by Fabian Galinski's avatar Fabian Galinski :pouting_cat:
Browse files

[TASK] The reply to is missing, if the mail is sent via the command controller

parent 11258678
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,11 @@ class SendMailCommandController extends CommandController {
$mailMessage->setBcc($bccAddresses);
}
$replyTo = $mailToSend->getReplyTo();
if ($replyTo) {
$mailMessage->setReplyTo($replyTo);
}
$mailMessage->setBody($mailBody, 'text/html');
$plaintextService = GeneralUtility::makeInstance(PlaintextService::class);
$plaintextBody = $plaintextService->makePlain($mailBody);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment