filmov
tv
UiPath | How to Download Attachments from Outlook and save them dynamically | Tutorial

Показать описание
Learn how to download attachments from Outlook with UiPath. This very easy guide shows you how to. Afterwards we show the solution to the problem, if the attachments are named the same and how we then save them without overwriting.
You could also watch:
00:36 Get Outlook Mail Message
We get the desired amount of Outlook Mail Messages and store them into a list of mailmessages.
00:40 Mail Account Property
It's always best practice to specify the mail account to make sure, we don't accidentally look in another mail account at the computer.
01:06 Mail Folder
Remember to specify what Outlook folder to look in. Default is Inbox.
01:57 Save Attachments
Use the Save Attachments activity to save attachments.
02:08 For Each
We iterate through our list of mails. And then save the attachments.
02:25 Setting the TypeArgument in For Each
Remember to set our TypeArgument to System.Net.Mails.
03:55 Problem with Attachments with the same name
Solve for the problem with attachment with similar name (create unique file names for the attachments).
05:18 How to get the date of the mail and use it as an ID
We create unique file names by using the date of the mail.
07:18 Using DateTime
10:25 Use an If to check if the got any attachments
11:05 Create Folder
Connect with me:
#uipath #rpa #automation
You could also watch:
00:36 Get Outlook Mail Message
We get the desired amount of Outlook Mail Messages and store them into a list of mailmessages.
00:40 Mail Account Property
It's always best practice to specify the mail account to make sure, we don't accidentally look in another mail account at the computer.
01:06 Mail Folder
Remember to specify what Outlook folder to look in. Default is Inbox.
01:57 Save Attachments
Use the Save Attachments activity to save attachments.
02:08 For Each
We iterate through our list of mails. And then save the attachments.
02:25 Setting the TypeArgument in For Each
Remember to set our TypeArgument to System.Net.Mails.
03:55 Problem with Attachments with the same name
Solve for the problem with attachment with similar name (create unique file names for the attachments).
05:18 How to get the date of the mail and use it as an ID
We create unique file names by using the date of the mail.
07:18 Using DateTime
10:25 Use an If to check if the got any attachments
11:05 Create Folder
Connect with me:
#uipath #rpa #automation
Комментарии