forked from extern/egroupware
Fix broken mail compose
This commit is contained in:
parent
495d67d5d0
commit
f788f001d0
@ -23,7 +23,9 @@ use Horde_Text_Flowed;
|
||||
use Horde_Stream;
|
||||
use Horde_Stream_Wrapper_Combine;
|
||||
use Horde_Mime_Headers;
|
||||
|
||||
use Horde_Mime_Headers_UserAgent;
|
||||
use Horde_Mime_Headers_Date;
|
||||
use Horde_Mime_Translation;
|
||||
/**
|
||||
* Sending mail via Horde_Mime_Mail
|
||||
*
|
||||
@ -522,7 +524,7 @@ class Mailer extends Horde_Mime_Mail
|
||||
$body_sha1 = null; // skip sha1, it requires whole mail in memory, which we traing to avoid now
|
||||
|
||||
// Smime sign needs to be 7bit encoded to avoid any changes during the transportation
|
||||
if ($this->_base->getMetadata('X-EGroupware-Smime-signed')) $opts['encode'] = Horde_Mime_Part::ENCODE_7BIT;
|
||||
if ($this->_base && $this->_base->getMetadata('X-EGroupware-Smime-signed')) $opts['encode'] = Horde_Mime_Part::ENCODE_7BIT;
|
||||
|
||||
$mail_id = Hooks::process(array(
|
||||
'location' => 'send_mail',
|
||||
|
Loading…
Reference in New Issue
Block a user