I need to get the date an email was received and save it as a variable. I have tried using emailVariable.Headers(“date”) but it is returning no value, just blank. The mail messages are of the type Office365Message.
I am using the Get Mail activity inside a Microsoft Office 365 Scope. The output is a variable of type Office365Message
I am then looping through each email to extract some info from the body and the date it was received. Here is a screenshot of the packages I have.
Outlook365Message inherits from MailMessage so both should have the same properties available. It not working is probably due to the bug mentioned by Peter. Why don’t you just try his suggestion and update to the later version of the package before changing anything else?