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

Productivity activities

Last updated Feb 19, 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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.