question

SimonHain avatar image
0 Votes"
SimonHain asked

EWS: Create message with PrivateDL recipient

Hello,
i noticed that Outlook allows sending mails to local contact groups (private distribution lists, PrivateDL).
When saving such a message as draft, it shows the recipient like this:

  <t:ToRecipients>
     <t:Mailbox>
        <t:Name>Test Distribution List</t:Name>
        <t:RoutingType>MAPIPDL</t:RoutingType>
        <t:MailboxType>PrivateDL</t:MailboxType>
        <t:ItemId Id="AAMkAGM2NTEyNGNlLTQ1YmEtNDc3MS1hYTcwLTU1OTUyNmYwMjc0OABGAAAAAABffnvz5cFJRKGuteRiOEEEBwDOHTPVqtslRIYX+WVhzyFIAAAAAAEOAADOHTPVqtslRIYX+WVhzyFIAADrHwPbAAA=" ChangeKey="EgAAAA=="/>
     </t:Mailbox>
  </t:ToRecipients>

However, when i try to use this mailbox as a recipient in CreateItem, the server replies with ErrorItemNotFound: The specified object was not found in the store., The store ID provided isn't an ID of an item.

Is it not possible to create a message with a PrivateDL as recipient using EWS?

office-exchange-server-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers