Attaching multiple files to Outlook emails

Hi RPA Developers! I was able to save the Outlook email message as a draft. However, I am unable to attach files to the email. How do I solve this issue? :slight_smile:

Hi @S.Varnakam

Create a System.Net.Mail.MailMessage object and use the following method to add attachments by Invoke Method activity one by one.
mailMessage.Attachments.Add(New Attachment(filePath))

1 Like

Thank you!

新年快乐!:mouse:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.