How to retrieve Received Date, Modified Date and Message ID from each email in Outlook mail?

+1 vote

Hi,

I am looking to retrieve a number of properties from each email after executing the ‘GetOutlookMailMessage’ step.

I am able to pull out the From, To, Subject, Body and Attachments.

I need to be able to pull out the Received Date, Modified Date and Message ID (this is a unique identifier for each email).

I believe the problem is that the MailMessage class does not contain these properties on their own (perhaps they exist in the headers).

Any suggestions or solutions would be most welcome.

Nov 7, 2019 in RPA by anonymous
• 1,110 points
2,099 views
May you help me in pulling out the list of attachments' filenames?

Thanks

Hey @Francesco, Use Save attachment Activity to Download the file in the particular folder and then Find The recently saved file in the folder by using LastWriteTime Method…
It is easy to Identify the attachment file this way!

1 answer to this question.

+1 vote

Hey there, to fetch these properties of header from get mail message activity, you needs write this:

mailVar.Headers(“Date”)
mailVar.Headers("MessageId")

I hope this would help you.

answered Nov 8, 2019 by Abha
• 27,930 points

Related Questions In RPA

0 votes
1 answer

How to read Month and Select Start & End Date from a Calender in Uipath?

Hello Apeksha, If you need start date of ...READ MORE

answered Oct 23, 2019 in RPA by Anvi
• 14,110 points
2,420 views
0 votes
1 answer

How to read a data from Network folder and copy the date modified time of the folder

Hey @Swapna, you can loop through every ...READ MORE

answered Jun 18 in RPA by Kim
158 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Identify a Column in a database in UiPath Studio

There are two options to identify a ...READ MORE

answered Feb 11, 2019 in RPA by Sahiti
• 6,320 points
1,345 views
0 votes
1 answer

Which edition of UiPath is more suitable for individual use, Enterprise Platform or Community Edition? Why?

UiPath’s Community Edition (CE) is the version which is ...READ MORE

answered Mar 7, 2019 in RPA by Mishti
• 480 points
800 views
0 votes
1 answer

Write multiple line message using message box

@Rashmi Message Box activity in UiPath does ...READ MORE

answered Mar 4, 2019 in RPA by Abha
• 27,930 points
4,700 views
0 votes
1 answer

How to connect to MySQL database using UiPath?

Follow these simple steps to connect to ...READ MORE

answered Mar 7, 2019 in RPA by Mishti
• 480 points
5,291 views
0 votes
1 answer

How to capture data from an Outlook email in UiPath Studio?

Hey there, you can use Get Outlook ...READ MORE

answered Nov 7, 2019 in RPA by Abha
• 27,930 points
3,231 views
0 votes
1 answer

How to extract table and text from pdf file and load into Excel by using workbench commands in automation anywhere

Hey Dhruv, to extract table and text ...READ MORE

answered Oct 10, 2019 in RPA by Abha
• 27,930 points
1,923 views