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

Productivity Activities

Last updated Mar 19, 2025

DownloadEmail

Downloads the given mail.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

 Stream DownloadEmail(
	IMail mail,
	bool bodyAsHtml = false
)Stream DownloadEmail(
	IMail mail,
	bool bodyAsHtml = false
)

Parameters

mail IMail
The email that should be downloaded.
bodyAsHtml Boolean (Optional)
If the content of the email should be interpreted as HTML format. Optional, default value is false.

Return value

Stream - A stream that contains the email data.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.