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

Anders Jensen
Anders Jensen
38.7 هزار بار بازدید - 4 سال پیش - Learn how to download attachments
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:
🔵 UiPath RPA Beginners Tutorial - UiPath RPA Beginners Tutorial [2020]
🔵 How to use Outlook with Uipath I Build my RPA Company in Public

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:
🔔 Subscribe - http://www.youtube.com/user/klogeande...
💼 LinkedIn - LinkedIn: andersjensens
👥 Facebook - Facebook: andersjensenorg
💌 Email Newsletter - https://andersjensen.org/email-newsle...

#uipath #rpa #automation
4 سال پیش در تاریخ 1398/11/24 منتشر شده است.
38,715 بـار بازدید شده
... بیشتر