activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

DownloadEmailAttachments

Downloads the attachments associated with the given mail.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	IMail mail
)
IReadOnlyDictionary<IMailAttachmentInfo, Stream> DownloadEmailAttachments(
	IMail mail
)

Parameters

mail IMail : The email from which to download the attachments from.

Return value

IReadOnlyDictionary<IMailAttachmentInfo>, Stream> - A dictionary from attachment info to the associated stream data.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated