Commit b79e75cb authored by Paul Ilea's avatar Paul Ilea
Browse files

[BUGFIX] Fix default from name value for emails

parent 8fc58ba6
......@@ -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']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment