Skip to content

Commit

Permalink
Use Horde_Mime_Mail#getRaw() to get the data for saving to sent mail.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed May 24, 2014
1 parent 46edd2e commit 8821b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1991,7 +1991,7 @@ public function sendMail(
try {
$mail->send($GLOBALS['injector']->getInstance('Horde_Mail'));
if ($save) {
$copy = $mail->getBasePart()->toString(array('stream' => true));
$copy = $mail->getRaw();
}
} catch (Horde_Mail_Exception $e) {
$this->_logger->err($e->getMessage());
Expand Down

0 comments on commit 8821b6b

Please sign in to comment.