forked from extern/egroupware
* 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
479f917c09
commit
54847f5768
@ -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