Please suggest how to Get mail form Inbox and Inbox subfolders to Excel
Hi @SURESH_P
You have get mail activity give the required folder names are it would fetch you list of mails. Depending on what type of access that you are looking there are multiple get mail activities available. One of it is this
https://docs.uipath.com/activities/docs/get-outlook-mail-messages
cheers
Hi @SURESH_P ,
Could you describe what is meant by Inbox folder to Excel ?
Hi I need to get mail from inbox and inbox subfolder then extracted email to Excel file.
Can you please suggest the best way?
Hi
How to get mail from folder and subfolders the extract to excel
HI @SURESH_P
Please use get mail
and then loop through each email and use write cell to write the body of email to excel
cheers
For your reference Find the below screen shot. How extract mail from all folders in Inbox
Hi @SURESH_P
you’ve to give the full path of the Subfolder i.e Inbox\Data in the Properties of GetEmail activity, then loop through each email & use Write range activity to write in an Excel File.
Regards
Loveleet Saini
Hi @SURESH_P
Here is code for getting all folders under the Inbox folder . then use loop and use get email inside it to get emails from each sub folder
And the Main folder name can be give directly eg: “Inbox”
If something is inside inbox give like this “inbox\Mailfolder”
Hope this is what you need
Cheers
Hi @SURESH_P
In the MailFolder Option on the properties panel just add an " \ " to specify the folder, like “Inbox\subfolder”
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.