Commit 22861f16 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1412 Add ignore_missing_attachments option to mapi_inetmapi_imtoinet.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 0c41fb86
...@@ -2609,7 +2609,7 @@ class MAPIProvider { ...@@ -2609,7 +2609,7 @@ class MAPIProvider {
} }
else { else {
$addrbook = $this->getAddressbook(); $addrbook = $this->getAddressbook();
$stream = mapi_inetmapi_imtoinet($this->session, $addrbook, $mapimessage, array('use_tnef' => -1)); $stream = mapi_inetmapi_imtoinet($this->session, $addrbook, $mapimessage, array('use_tnef' => -1, 'ignore_missing_attachments' => 1));
} }
if (is_resource($stream)) { if (is_resource($stream)) {
$mstreamstat = mapi_stream_stat($stream); $mstreamstat = mapi_stream_stat($stream);
......
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