Skip to content
Snippets Groups Projects
Commit 0ad642ed authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Add TODO hint for more refactoring possibilities

parent 4a09fb45
No related branches found
Tags 6.0.0
No related merge requests found
...@@ -650,6 +650,7 @@ class MailTemplateService { ...@@ -650,6 +650,7 @@ class MailTemplateService {
$currentTimestamp = 0; $currentTimestamp = 0;
if ($this->ignoreMailQueue) { if ($this->ignoreMailQueue) {
// @TODO arghh... why is this not sharing the code with sendMailFromQueue????
$this->mailMessage->setBody($emailBody, 'text/html'); $this->mailMessage->setBody($emailBody, 'text/html');
$plaintextService = GeneralUtility::makeInstance(PlaintextService::class); $plaintextService = GeneralUtility::makeInstance(PlaintextService::class);
$plainTextBody = $plaintextService->makePlain($emailBody); $plainTextBody = $plaintextService->makePlain($emailBody);
......
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