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

Productivity Activities

Last updated Mar 19, 2025

GetMailFolders

Retrieves the mail folders from the specified account.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]IReadOnlyCollection<IMailFolder> GetMailFolders(
	string account = null
)

Parameters

account String (Optional)
If specified uses the given shared mailbox, otherwise it uses the current account. Optional, default value is null.

Return value

IReadOnlyCollection<IMailFolder> - A list of mail folders.

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.