Save Attachments to folder using Office 365 Activity

hi friends im trying to save attachments to a folder using office 365 activity as i need to run this without going through the outlook app, so that’s why i connected it to Azure. my problem is i dont know how to save attachments to a folder, just like how i use to with the save attachments activity, but it doesn’t work with office 365 activities, or does it. this a screen shot of what i have so far but im new to using office 365 activities so please help save attachments in my email using office 365 activity. please give a step by step process. thx

Hi @Shazid_Rahman ,

Use this below code in save attachments activity,
CType(mailMessages(0),System.Net.Mail.MailMessage)

Where - mailMessages(0) is of type UiPath.MicrosoftOffice365.Models.Office365Message

Find the below screenshot,

Hope this may help you :slight_smile:

7 Likes

Hi,

Can you try as the following?

Regards,

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