Microsoft Office 365 Scope Getting Internet Message Headers from Mails

Hello Everyone,

I have a query in which I want to retrieve the headers from Mails specifically the Date and time the mail was received.
I want to do this in Microsoft Office 365 Scope.
Please help me with this query. Anyone having the solution is always welcomed.

Thank you.

1 Like

Did you check the following?

3 Likes

Hi, Thank you so much for your help. This solution works perfect.
But this in “UTC Time zone” so if anyone wants to change it to “Local Time zone” just add “.toLocalTime”.

Thank you!

1 Like

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