Commit 27067630 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1052 Attached eml message does not have size.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a5c4cfc4
......@@ -754,9 +754,7 @@ class MAPIProvider {
$addrbook = $this->getAddressbook();
$stream = mapi_inetmapi_imtoinet($this->session, $addrbook, $embMessage, array('use_tnef' => -1));
}
else {
$stat = mapi_stream_stat($stream);
}
$attach->estimatedDataSize = $stat['cb'];
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment