How to download an attachment from outlook to my device

I’m trying to save an excel file by usinf “save attachment” activity.
the file run smoothly but doesn’t save it
email

Hi @Mohammad_Allan

Are there any attachments in the emails you are reading. Please check that once.

Regards

Hi,

maintain a condition that, Mail message contains attachment. if yes, use save attachment.

Condition:
if(MailMessage.Attachments.Count > 0)
{
Save Attachment
}
Else
{
Skip
}

yes there is an attachemnt

Hi @Mohammad_Allan

Where are you trying to save the attachment?

Regards

I chose a path to desktop

Hi @Mohammad_Allan

Once try saving the attachment to your project folder by creating a new folder in your project folder and give that path. This should help.

Regards

1 Like

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