Skip to content
Snippets Groups Projects
Commit 108937fb authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Mail from is now an array address => name

parent 2a756006
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,12 @@ class FormhandlerFinisherService extends AbstractFinisher {
}
$language = $GLOBALS['TSFE']->config['config']['language'];
$fromAddress = [$this->settings['from_address'] => $this->settings['from_name']];
MailTemplateService::sendEmail(
$language, $this->settings['template_key'], $this->settings['extension_key'], $toAddress,
$this->settings['from_address'], $subject, $this->gp, $this->settings['ignore_mail_queue']
$fromAddress, $subject, $this->gp,
$this->settings['ignore_mail_queue']
);
return $this->gp;
}
......
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