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?
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.
Cheers!
I have the same issue when getting certain mail messages via IMAP. Most work fine but there is the odd one that clearly has an attachment when looking in the mail client but has an empty “AttachmentsCollection”.
I checked 2 of them and both came from “Apple Mail” client which leads me to believe that the way that client sends emails isn’t supported by the UiPath activity. Just spitballing but maybe it uses “inline attachments” in the embedded HTML mail (which btw is also not accessible via the mailmessage object).
Maybe my custom save attachment workflow can be used here as well. Please see my post in this thread and let me know if this can be used for solving this issue as well.
I am using this method you have in your file but for some reason when I go to open the file it says I am not allowed. I can save the attachment manually and am able to open the file, but not when I use the component to download the file. Is there any reason for this?