Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Reading journalling emails attachments

$
0
0

Hi,        

I am using EWS and journaling mailbox.

Now I am reading the mailbox and since this is journaling mailbox I get each email message sent or received in organization as an attachment to email( user’s email to whom journaling mailbox is configured).

Now I am using below code

FindItemsResults<Item> findResults = _ExchangeService.FindItems(

        WellKnownFolderName.Inbox,

        new ItemView(20));

          foreach (Item item in findResults.Items)

            {

                if (item is EmailMessage)

                {

                    if (item.HasAttachments) // this it self is email message

                    {

                       //Here I would like to read the attachment   to above email message     and its other information             

                                           }

                                }

                              }

---------------------------------------------

But I would like to know how should I read the attachment to journalling email message which itself is an attachment.

Regards,

Amit


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>