shanmugam
(shanmugam)
March 3, 2017, 10:44am
#1
Hi All,
I need to extract all the attachment files names of unread mail using web scrapping.
For ex, I’ve an outlook web mail. It has 5 UnRead mails and 3 of 5 contains 4 attachments irrespectively.
I want to read / Extract all the file names (.png / .JPEG / .txt / .xlsx etc… whatever the file) of attachments of Unread mails.
I’m using UIPath Developer 8.0
Thanks in advance
Dominic
(Dominic Arul Collins)
October 16, 2017, 6:43am
#3
How could I get the filename of attachment without saving the attachment? I want to compare that name through “if” condition.
There are options in coding like item.attachment.display name or item.attachment.filename (for each item in mailbox loop) but I could not find either in UIPath.
Please help here.
Go through. Helps you
Regards,
Dominic Arul Collins V
Poovarasan2
(Poovarasan Gunasekaran)
October 16, 2017, 9:29am
#4
Use Save attachment Activity to Download the file in the particular folder and then Find The recently saved file in the folder by using LastWriteTime Method…
It is easy to Identify the attachment file…
c#, .net, file, loops
Try this…,
Data Type_System.Net.Mail.Attachements
Attachements.ContentType.Name.ToString or Attachements.Name