Get Attachments from Outlook Mail Message

When trying to Get Outlook Mail Message the output I get doesn’t contain any Attachments (Attachments=AttachmentCollection(0)) , even though I know that the mail I receive has some. I know this by the name of the Subject i get.

Are the activity ‘Get Outlook Mail Message’ bugged, or has others experienced not being able to access their Attachments, and if so how can I fix this problem?

  1. use get mail message activity and store the out put in a variable named say mail_Msg
  2. now use if activity the condition would be mail_Msg.Attachments.Any
  3. in true block use save attachment activity.

Hope this helps

I have tried this multiple times and many variants of this.

The problem is that the object in UiPath acts as there are no Attachments, when I know that the object contains multiple attachments.

Do you know if 2019.12.0-beta.61 can communicate with outlook 1902 (Build 11328.20468)?


hope you have set this to System.Net.Mail.MailMessage

Dude, thank you for trying, but I know this. This is not what i’m asking.

Hi! I have the same problem. Did you find a solution?

Hello Daniel,
I can’t actually remember. I think that we tried to reinstall either Outlook or UiPath, but i can’t remember if that did the job. Sorry! I hope you have found a solution.

Can i get the attachment txt of the email without saving it ? and find some value from it ?

Hi !
I am facing the same issue :confused: Did you find a solution ?