Hi Everyone, I want to read the mail which is received today and download the attachments only Excel. is there any way to read all the newly received mail from the multiple folders and subfolders
All at once not possible. You will have to loop through all the folders. You can store the Folder names in an array and use For Each
loop.
Inside the loop use Get Outlook Mail Messages
and change the Folder name with CurrentItem
.
Thanks,
Ashok
Hi!
Is the email on microsoft 365?
And are you on the UiPath Automation Cloud?
Then you can set up a trigger for every receieved email
Integration Service - Microsoft Outlook 365 events (uipath.com)
Then you can use studio web to do this (just generate it via prompt):
@ashokkarale , Thanks for the prompt response. I will try this and keep you posted.
@sven.wullum1 , I’m using the desktop outlook. How can I achiever this method could you elaborate little bit more about this please.
Ok, but is the mail server thingy in exchange on-prem, exchange cloud or on 365?
For on-prem you’d have to periodically check the mail account for emails received since the last time you checked.
You can use a filter expression to only retrieve emails containing an attachment, you can read more about that here:
Activities - Get Outlook Mail Messages (uipath.com)
I never used this activity. Is there any way to learn and implement this.
Sure!
Read this article
Activities - Get Outlook Mail Messages (uipath.com)
Do this course:
Email Automation With Studio (uipath.com)
Or google something. I’m sure there’s a youtube video or the likes explaining how.
Thanks for the quick help. I’ll go through it and keep you posted.