Skip to content
Snippets Groups Projects
Commit b79e75cb authored by Paul Ilea's avatar Paul Ilea
Browse files

[BUGFIX] Fix default from name value for emails

parent 8fc58ba6
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,11 @@ class MailTemplateService {
}
}
$this->mailMessage->setFrom($this->fromAddress);
if ($GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']) {
$this->fromName = $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'];
}
$this->mailMessage->setFrom($this->fromAddress, $this->fromName);
$this->bccAddresses = GeneralUtility::trimExplode(',', $tsSettings['mail']['default']['bcc']);
$this->ccAddresses = GeneralUtility::trimExplode(',', $tsSettings['mail']['default']['cc']);
......
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