How to convert .msg file to .txt file

I have a use case where all the .msg files will be stored, i have open each item and capture the date time stamp from each email.

please share your thoughts on this, how can i do this.

Thanks in Advance,
Guna.

Hi
welcome back to UiPath community

for this
–use a assign activity like this
arr_files = Directory.GetFiles(“yourfolderpath”,“*.msg”)
where arr_files is a variable of type array of string
–now use FOR EACH activity where pass the above variable as input and change the type argument as string in the property panel
–inside the loop use START PROCESS activity where pass the file path of .msg file as item.ToString and it would open that mail in the foreground of the screen

then for this

we can use GET TEXT or SCREEN SCRAPPING method to get the date

Cheers @Kotla_Gunasekhar

2 Likes

Thank you @Palaniyappan it worked :slight_smile:

1 Like

Cheers @Kotla_Gunasekhar

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