mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* ActiveSync: Fix error body part not set, while trying to forward an email
This commit is contained in:
parent
a63df98b05
commit
a206ec325a
@ -816,7 +816,7 @@ class Mailer extends Horde_Mime_Mail
|
||||
if (!($part_id = $base->findBody($subtype))) return null;
|
||||
return $base->getPart($part_id);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
catch (Horde_Mail_Exception $e) {
|
||||
unset($e);
|
||||
return $subtype == 'html' ? $this->_htmlBody : $this->_body;
|
||||
}
|
||||
|
@ -704,8 +704,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
}
|
||||
// get all the attachments and add them too.
|
||||
// start handle Attachments
|
||||
// $_uid, $_partID=null, Horde_Mime_Part $_structure=null, $fetchEmbeddedImages=true, $fetchTextCalendar=false, $resolveTNEF=true, $_folderName=''
|
||||
$attachments = $this->mail->getMessageAttachments($uid, null, null, true, false, true , $folder);
|
||||
$attachments = $this->mail->getMessageAttachments($uid,null,null,true,false,true,$folder);
|
||||
$attachmentNames = false;
|
||||
if (is_array($attachments) && count($attachments)>0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user