Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_mail
Commits
b79e75cb
Commit
b79e75cb
authored
Mar 28, 2019
by
Paul Ilea
Browse files
[BUGFIX] Fix default from name value for emails
parent
8fc58ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Service/MailTemplateService.php
View file @
b79e75cb
...
...
@@ -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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment