Get email date not working

Hello,

I want to stract the date from an email and it doesn’t work for some cases.

I use the activity Get Outlook Mal Messages for read the emails, and loop this emails with a For Each activity.

To extract the date I tried this expressions:

CurrentMail.Date
CurrentMail.DateAsDateTime
CurrentMail.Headers(“Date”)

All of these expressions returns same error: No date is specified in the given e-mail message.

I have detected the following:
If the read email is in a mail thread, this expressions work, and it gets the date correctly.
If the read email is unique and not in a thread, shows that error that the email doesn’t have date.

What happens?

Thank you for your help!

@sergio.garcia
Welcome to the forum

In case you are dealing with O365 have a look here:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.