How to get attachments from signed email - Exchange 2010, EwsManagedApi
Hello,
I need to scan public folder on Exchange 2010, read emails and save attachments. My service works fine with no-signed emails. But if the email is signed, I can read and save only one attachment - the signature.
I use library EwsManagedApi v 1.1
Here is the code, how I create email message object:
EmailMessage message = EmailMessage.Bind(_exchangeService, item.Id, new PropertySet(BasePropertySet.FirstClassProperties,EmailMessageSchema.Attachments));
Then I use message.Attachments[ index ]
to read attachments.
Thanks Vaclav Macak
January 20th, 2012 3:13pm
Hi Vaclav,
Seems like the Moderator should have moved the thread to the Development
forum:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Please seek the solution in the forum, thanks.Frank Wang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2012 2:44am
Hi Vaclav,
Seems like the Moderator should have moved the thread to the Development
forum:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Please seek the solution in the forum, thanks.Frank Wang
TechNet Community Support
January 23rd, 2012 10:36am