Saving Attachments by using EWS

Hello to everyone from a new member,

looking for a way to handle my O365 mail-accounts instead of using Flow, I was trying Aspose-Library yesterday. Everything went fine, including filtering and so on, but I suffered, when I tried to save certain attachments from the selected MailMessage.

The class ExchangeAttachmentInfo has no direct method. Do I have to use the URI for downloading the element by another way?

I’m very interested in your ideas. Nice sunday to everyone.

Christian

After I sent my topic I found the github samples and now I know, that I have to fetch the ExchangeMessage to MailMessage.

client.FetchMessage(exchangeMessageInfo.UniqueUri);

So now everything works fine and I can go on.

Nevertheless - a big Thx To All :wink:

@sightech

It is nice to hear from you that your problem has been solved. Please let us know if you have any queries related to Aspose.Email.