mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
fix for the problem, that forwarding mails could lead to the conversion of the forwarded mails to plain text of the raw body of this mail.
This commit is contained in:
parent
b1c111db85
commit
4b24d98f77
@ -710,10 +710,11 @@
|
||||
case 'MESSAGE/RFC822':
|
||||
$bofelamimail->openConnection();
|
||||
$bofelamimail->reopen($attachment['folder']);
|
||||
$rawHeader = $bofelamimail->getMessageRawHeader($attachment['uid'], $attachment['partID']);
|
||||
$rawBody = $bofelamimail->getMessageRawBody($attachment['uid'], $attachment['partID']);
|
||||
$bofelamimail->closeConnection();
|
||||
|
||||
$_mailObject->AddStringAttachment($rawBody, $attachment['name'], '7bit', 'message/rfc822');
|
||||
$_mailObject->AddStringAttachment($rawHeader.$rawBody, $attachment['name'], '7bit', 'message/rfc822');
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user