Resolution for the process getting faulted with "The specified string is not in the form required for an e-mail address." when using Get Exchange Mail Activity.
- While using Get Exchange Mail Activity, it is using System.Net.Mail Objects which should be validated using RFC 822 Specifications
- This works using Outlook, as Outlook does not have such validations, it converts the details obtained from Exchange to a string irrespective of the data in place.
For some email address Exchange Items FromAddress and Sender Address does not follow RFC 822 and throws an error when using the Get Exchange Mail Message due to the MailMessage constructor throwing a format exception.
For using Exchange Mail Message Activity, it needs to validate the RFC 822 standard, whereas its not the scenario in case of Outlook.