Hi everyone… I need to download attachments from email for a specific subject and selave those attachments to a folder… Then send those attachments to myself… I have retrived the attachments… But done how to attach all those attachments in single mail… Pls help me out
Welcome to Uipath community
you can send those attachments as a collection in your mail.
first add all you attachments to a collection
then pass the collection to your mail ,
Also this feature is available in above 1.2 version
@Saran you can use
1.Assign activity GetFiles = Directory.getfiles(“foldername”)
2.Use send mail activity(smtp or outlook). In the properties AttachmentsCollection use getFiles
@Ajju hi ajay…hv used add to collection as u suggested…wats d Collection and Item I need to input??
@inp …i…i hv assigned the files in folder to a file … can u show a sample xaml file or screenshot of SMTP activity alone??
find the reusable workflow below to send a mail using SMTP, if you are not using SMTP change the activity to Outlook send mail activity
SendMail.zip (12.8 KB)
@Ajju…Thank you for assisting to solve the issue…its working:)
Enjoy the development
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.