Open OliverTempel opened 7 years ago
Version (e.g. 1.0, dev-master): current stable branch PHP version: 5.6.29 Microsoft Exchange version: 2010R2
Description of problem: How can i access a subfolder of inbox and list all mails?
Example request:
$request = new FindItemType(); $request->ParentFolderIds = new NonEmptyArrayOfBaseFolderIdsType(); $request->Traversal = FolderQueryTraversalType::SHALLOW; $request->Restriction = new RestrictionType(); $request->Restriction->IsEqualTo = new IsEqualToType(); $request->Restriction->IsEqualTo->FieldURI = new PathToUnindexedFieldType(); $request->Restriction->IsEqualTo->FieldURI->FieldURI = 'message:IsRead'; $request->Restriction->IsEqualTo->FieldURIOrConstant = new FieldURIOrConstantType(); $request->Restriction->IsEqualTo->FieldURIOrConstant->Constant = new ConstantValueType(); $request->Restriction->IsEqualTo->FieldURIOrConstant->Constant->Value = "false"; $request->ItemShape = new ItemResponseShapeType(); $request->ItemShape->BaseShape = DefaultShapeNamesType::ALL_PROPERTIES; //This code isnt working $request->ParentFolderIds->FolderId = new FolderIdType(); $request->ParentFolderIds->FolderId->Id = 'AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA=='; try { $response = $ewsClient->FindItem($request); } catch (\SoapFault $e) { $soap = $ewsClient->getClient(); $request_xml = $soap->__getLastRequest(); $response_xml = $soap->__getLastResponse(); echo '<pre>'.print_r(array('EWS-E-Mail-Task Find Error',array($soap->faultcode,$soap->faultstring,$e->getMessage(),$request_xml,$response_xml)),true).'</pre>'; }
Example response:
SOAP-ERROR: Encoding: Violation of encoding rules
Additional details: PHP Setting
always_populate_raw_post_data = -1
Default example with inbox returns no errors:
$folder_id = new DistinguishedFolderIdType(); $folder_id->Id = DistinguishedFolderIdNameType::INBOX; $request->ParentFolderIds->DistinguishedFolderId[] = $folder_id;
SOAP-Request:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages"> <SOAP-ENV:Header> <ns1:RequestServerVersion Version="Exchange2010_SP2" /> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns2:FindItem Traversal="Shallow"> <ns2:ItemShape> <ns1:BaseShape>AllProperties</ns1:BaseShape> </ns2:ItemShape> <ns2:Restriction> <ns1:IsEqualTo> <ns1:FieldURI FieldURI="message:IsRead" /> <ns1:FieldURIOrConstant> <ns1:Constant Value="false" /> </ns1:FieldURIOrConstant> </ns1:IsEqualTo> </ns2:Restriction> <ns2:ParentFolderIds> <ns1:FolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" /> </ns2:ParentFolderIds> </ns2:FindItem> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response:
<?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <h:ServerVersionInfo MajorVersion="14" MinorVersion="3" MajorBuildNumber="351" MinorBuildNumber="0" Version="Exchange2010_SP2" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> </s:Header> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <m:FindItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"> <m:ResponseMessages> <m:FindItemResponseMessage ResponseClass="Success"> <m:ResponseCode>NoError</m:ResponseCode> <m:RootFolder TotalItemsInView="8" IncludesLastItemInRange="true"> <t:Items> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinHAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZkoV" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>Ankündigung Moerser MusikSommer (Meisterkurs Mozartgesang)</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T11:41:27Z</t:DateTimeReceived> <t:Size>2589252</t:Size> <t:Importance>Normal</t:Importance> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T11:41:21Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T11:41:27Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>true</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T11:41:27Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinHAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAO2Qzq9WY0wlnGuXQOTBZig=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AdLay/oq7ZDOr1ZjTCWca5dA5MFmKA==</t:ConversationIndex> <t:ConversationTopic>Ankündigung Moerser MusikSommer (Meisterkurs Mozartgesang)</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC59C88@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinGAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZkoJ" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>Carnegie Hall, Competition</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T08:32:52Z</t:DateTimeReceived> <t:Size>499059</t:Size> <t:Importance>Normal</t:Importance> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T08:32:48Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T08:32:52Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T08:32:52Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinGAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAEvITAqPaUzMpijRbbMfH18=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AdLasZk4S8hMCo9pTMymKNFtsx8fXw==</t:ConversationIndex> <t:ConversationTopic>Carnegie Hall, Competition</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC59B97@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinFAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZknz" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>VDKC: CHOR und KONZERT online 05/2017</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:36:22Z</t:DateTimeReceived> <t:Size>113534</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8F7ED8@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:36:20Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:36:22Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:36:22Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinFAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQALJRQcKWskHJv3cwxgifITA=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AdLaC8YBslFBwpayQcm/dzDGCJ8hMAACPD9QACVByGA=</t:ConversationIndex> <t:ConversationTopic>VDKC: CHOR und KONZERT online 05/2017</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC59ACF@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><1a0201d2da11$a3ca5090$eb5ef1b0$@vdkc.de> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8F7ED8@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinEAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZknr" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>La Méditerranée sublimée</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:36:10Z</t:DateTimeReceived> <t:Size>58715</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8F7EB6@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:36:08Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:36:10Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:36:10Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinEAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAGbR6eubDopAvfN54nV0q78=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AQHS2gyOZtHp65sOikC983nidXSrv6IOdQMggAEqTKA=</t:ConversationIndex> <t:ConversationTopic>La Méditerranée sublimée</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC58AC2@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><4u1g0nsc6ddx.jLi3ySMazaEKV2MUjVnFmQ2@tracking.suds-arles.com> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8F7EB6@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinDAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZjnf" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>Thalia Theater sucht ChorsängerInnen für die neue Produktion DIE ORESTIE </t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:31:40Z</t:DateTimeReceived> <t:Size>47945</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFD0C@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:31:38Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:31:40Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>true</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:31:40Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinDAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAMQ8OFn5iEeItVIFwVFyRns=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AdLZXdsNxDw4WfmIR4i1UgXBUXJGewAB9kJwACDnEqAAL+u2gA==</t:ConversationIndex> <t:ConversationTopic>Thalia Theater sucht ChorsängerInnen für die neue Produktion DIE ORESTIE </t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC58A9F@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><520461ECF4661F42A58D2CD47FF3E4C67E37332D@TSRV26.thalia2003.staatstheater.sthh> <520461ECF4661F42A58D2CD47FF3E4C67E373370@TSRV26.thalia2003.staatstheater.sthh> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFD0C@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinCAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZjna" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>Einladung zum 3. Chorpädagogischen Sommerkurs</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:30:51Z</t:DateTimeReceived> <t:Size>46507</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFCF6@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:30:49Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:30:51Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:30:51Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinCAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAKnJKVi2cphPo8Amz+4qulA=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AQHS2WSKqckpWLZymE+jwCbP7iq6UKIOH8jAgAF/LGA=</t:ConversationIndex> <t:ConversationTopic>Einladung zum 3. Chorpädagogischen Sommerkurs</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC58A8A@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><201705301848088CF2B6CC34$83F5609C75@WNBESSLNEWSL> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFCF6@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinAAAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZjnL" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>New Jobs: Penn. Ballet, G. Schirmer, Austin Opera, Young Concert Artists and more</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:29:25Z</t:DateTimeReceived> <t:Size>67063</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFC9C@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:29:22Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:29:25Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:29:25Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZinAAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAN2jKJQ+gdRHkBNuCaQv13k=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AQHS2VP63aMolD6B1EeQE24JpC/XeaIOHyVggAF/s9A=</t:ConversationIndex> <t:ConversationTopic>New Jobs: Penn. Ballet, G. Schirmer, Austin Opera, Young Concert Artists and more</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC58A5A@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><1128065742311.1103196797455.1829658513.0.391048JL.2002@scheduler.constantcontact.com> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFC9C@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> <t:Message> <t:ItemId Id="AAMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZABGAAAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZim/AAA=" ChangeKey="CQAAABYAAAAqBR74Ql7RQojxmJnRuNmLAAAAZjm/" /> <t:ParentFolderId Id="AQMkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAuAAAD3o419MiM20SzsQacBRR+wAEAKgUe+EJe0UKI8ZiZ0bjZiwAAAWKeIgAAAA==" ChangeKey="AQAAAA==" /> <t:ItemClass>IPM.Note</t:ItemClass> <t:Subject>fimt Newsletter vom 31.5.2017</t:Subject> <t:Sensitivity>Normal</t:Sensitivity> <t:DateTimeReceived>2017-06-01T07:24:28Z</t:DateTimeReceived> <t:Size>160388</t:Size> <t:Importance>Normal</t:Importance> <t:InReplyTo><DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFC75@GEORGE.mh-luebeck.de></t:InReplyTo> <t:IsSubmitted>false</t:IsSubmitted> <t:IsDraft>false</t:IsDraft> <t:IsFromMe>false</t:IsFromMe> <t:IsResend>false</t:IsResend> <t:IsUnmodified>true</t:IsUnmodified> <t:DateTimeSent>2017-06-01T07:24:25Z</t:DateTimeSent> <t:DateTimeCreated>2017-06-01T07:24:28Z</t:DateTimeCreated> <t:ReminderIsSet>false</t:ReminderIsSet> <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart> <t:DisplayCc /> <t:DisplayTo>IntranetExterneNews, Funkt</t:DisplayTo> <t:HasAttachments>false</t:HasAttachments> <t:Culture>de-DE</t:Culture> <t:EffectiveRights> <t:CreateAssociated>false</t:CreateAssociated> <t:CreateContents>false</t:CreateContents> <t:CreateHierarchy>false</t:CreateHierarchy> <t:Delete>true</t:Delete> <t:Modify>true</t:Modify> <t:Read>true</t:Read> <t:ViewPrivateItems>true</t:ViewPrivateItems> </t:EffectiveRights> <t:LastModifiedName>marketing, fsj</t:LastModifiedName> <t:LastModifiedTime>2017-06-01T07:24:28Z</t:LastModifiedTime> <t:IsAssociated>false</t:IsAssociated> <t:WebClientReadFormQueryString>?ae=Item&a=Open&t=IPM.Note&id=RgAAAADejjX0yIzbRLOxBpwFFH7ABwAqBR74Ql7RQojxmJnRuNmLAAAAYp4iAAAqBR74Ql7RQojxmJnRuNmLAAAAZim%2fAAAJ&exvsurl=1</t:WebClientReadFormQueryString> <t:ConversationId Id="AAQkAGQyNWI1MDk0LTk1YzUtNGMzNy1hNmViLWMwM2VjZDhhNTEwZAAQAODo8nMKGPBJgq8itKMDg+w=" /> <t:Sender> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:Sender> <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested> <t:IsDeliveryReceiptRequested>false</t:IsDeliveryReceiptRequested> <t:ConversationIndex>AQHS2cqi4OjycwoY8EmCryK0owOD7KIOHhawgAF+dnA=</t:ConversationIndex> <t:ConversationTopic>fimt Newsletter vom 31.5.2017</t:ConversationTopic> <t:From> <t:Mailbox> <t:Name>marketing, fsj</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:From> <t:InternetMessageId><938BE6122225D44898668F28BA96CC3F5CC57A3F@GEORGE.mh-luebeck.de></t:InternetMessageId> <t:IsRead>false</t:IsRead> <t:IsResponseRequested>false</t:IsResponseRequested> <t:References><15dc971b-2fb3-3847-ae04-121ac7acebe1@web.de> <592E4AAB.3020307@uni-bayreuth.de> <DA1486DDC9F96747B29AB8F4FDBEFF2C5C8EFC75@GEORGE.mh-luebeck.de></t:References> <t:ReceivedBy> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedBy> <t:ReceivedRepresenting> <t:Mailbox> <t:Name>IntranetExterneNews, Funkt</t:Name> <t:MailboxType>OneOff</t:MailboxType> </t:Mailbox> </t:ReceivedRepresenting> </t:Message> </t:Items> </m:RootFolder> </m:FindItemResponseMessage> </m:ResponseMessages> </m:FindItemResponse> </s:Body> </s:Envelope>
In order to search recursively, you need to set the traversal of your request to deep. See the folder/find example, which uses a recursive search.
Version (e.g. 1.0, dev-master): current stable branch PHP version: 5.6.29 Microsoft Exchange version: 2010R2
Description of problem: How can i access a subfolder of inbox and list all mails?
Example request:
Example response:
Additional details: PHP Setting
Default example with inbox returns no errors:
SOAP-Request:
Response: