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
31dcd928
Commit
31dcd928
authored
Sep 29, 2016
by
Torsten Oppermann
Browse files
[TASK] Replacing php explode with general utility trimexplode
parent
872e8023
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Service/MailTemplateService.php
View file @
31dcd928
...
...
@@ -124,8 +124,8 @@ class MailTemplateService {
$this
->
fromAddress
=
$this
->
tsSettings
[
'mail'
][
'default'
][
'from'
];
$this
->
mailMessage
->
setFrom
(
$this
->
fromAddress
);
$this
->
bccAddresses
=
e
xplode
(
','
,
$this
->
tsSettings
[
'mail'
][
'default'
][
'bcc'
]);
$this
->
ccAddresses
=
e
xplode
(
','
,
$this
->
tsSettings
[
'mail'
][
'default'
][
'cc'
]);
$this
->
bccAddresses
=
GeneralUtility
::
trimE
xplode
(
','
,
$this
->
tsSettings
[
'mail'
][
'default'
][
'bcc'
]);
$this
->
b
ccAddresses
=
GeneralUtility
::
trimE
xplode
(
','
,
$this
->
tsSettings
[
'mail'
][
'default'
][
'cc'
]);
$this
->
mailMessage
->
setBcc
(
$this
->
bccAddresses
);
$this
->
mailMessage
->
setBcc
(
$this
->
ccAddresses
);
}
...
...
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