mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Notification/Mail: Fix / work around for BAD Header problem encountered in notifications for insufficiently encoded subject
when sending alarm messages on extended notification format
This commit is contained in:
parent
6c87b988f5
commit
b38eb063f6
@ -101,7 +101,7 @@ class notifications_email implements notifications_iface {
|
||||
|
||||
$this->mail->setFrom($this->sender->account_email, $this->sender->account_fullname);
|
||||
|
||||
$this->mail->addHeader('Subject', $_subject);
|
||||
$this->mail->addHeader('Subject', trim($_subject)); // trim the subject to avoid strange wrong encoding problem
|
||||
$this->mail->setHtmlBody($body_html, null, false); // no automatic alternativ
|
||||
$this->mail->setBody($body_plain);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user