UiPath.Mail.ExchangeException: The specified string is not in the form required for an e-mail address

Hi All,

While trying to use the “Get Exchange Mail Message” activity, I am getting the error as below,

“System.AggregateException: One or more errors occurred. —> UiPath.Mail.ExchangeException: The specified string is not in the form required for an e-mail address. —> System.FormatException: The specified string is not in the form required for an e-mail address.\r\n at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)\r\n”

I have given the Email address of the bot in the “EmailAutoDiscover”
Exchange Version : Exchange2010
User : “Robots user id”

I tried changing the robots user id to the email id as well, but no luck.
Has anyone faced this issue before?

Thanks in advance,
Vidhya

1 Like

I am facing the same issue. Did you get it resolved? if so, how?

I think I have a hint.
Its actually not an e-mail address of yours. It s one of the senders in your inbox.
One of the messages in your inbox has an invalid e-mail or no e-mail at all.
In my case it was a notification from the server about unsend mails (Can not deliver).
After deleting that one mail, everything works again.