When I try to get messages from outlook I’m getting this error. I don’t know where to add EnumMemberAttribute, or if that is even the problem.
Hi @msturkie,
Can you shout your workflow and parameters for Get Email Messages
activity.
@msturkie - Kindly share the way you used the Get Mail Message.
Thanks,
AK
Get mail message is literally the first and only thing in the workflow.
I’m just pulling everything from a folder that I put about 5000 messages in. Then i’m going to parse the bodies for email addresses.
@msturkie - In the For Each loop did you use System.Net.Mail.MailMessage ?
Thanks,
AK
@msturkie - In that Account pass the value as folder name of your mail box, for example “Inbox”
Thanks,
AK
Sorry that is incase if you are reading the mail from Archive folder
Yes it is set to system.net.mail.mailmessage. But as of right now everything is commented out but the ‘get mail messages’ so that shouldn’t have any effect on the workflow.
I put “Inbox” in the account input and threw the same error. I took all of the variables out and it threw the same error.
Try to pass some values like 5 or 10 in the Top under the Properties window
I passed in 1,5, and 10 with my email address as account and “Inbox” as mailfolder. I checked with one of our IT people and we store everything off site with office 365. could this be a problem? I also updated all uipath mail activities. Still getting same error.
Is your Outlook configured in your machine? Sorry to ask that, just to find out root cause of the issue.
Thanks,
AK
Yes outlook is configured and open on my machine.
@msturkie - Try remove that TimeoutMS value from the properties. I think this could be the issue.
Thanks,
AK
Buddy remove that account detail and keep that property blank buddy , pass the Mailfolder property alone as “Inbox”, under input in properties
Kindly Try this and let know buddy @msturkie
Cheers
I removed timeout time and got same error.
Tried this and same error. I believe this has to do with the XML web service not having the correct attribute. I’ll have to check with our DBA and see if he can check that for me.
So i tried running another workflow and it was throwing the same error. This seems to be a general error with UIPath and not a problem with the get mail message activity. Going to restart computer and see if anything happens.
@msturkie - Sometimes Restart will also be a solution. Also wanted to know whether this was working fine before or you are using it for the first time? If it is first time need to check whether UiPath do not have access to your mailbox due to any security issue.
Thanks,
AK
I’m using this for the first time. The restart solved the issue. But the error did begin when i tried to use it for the first time. I would like to thank everyone for their support!