Activities
latest
false
Productivity Activities
Last updated Jun 3, 2024

DeleteEmail

Deletes the given mail.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Overloads

OverloadDescription
DeleteEmail(IMail, Boolean)Deletes the given mail.
DeleteEmail(String, Boolean)Deletes the email with the given messageId.

DeleteEmail(IMail, Boolean)

Deletes the given mail.
public void DeleteEmail(
	IMail mail,
	bool deletePermanently = false
)public void DeleteEmail(
	IMail mail,
	bool deletePermanently = false
)
mail IMail
The email that should be deleted.
deletePermanently Boolean (Optional)
If the email should be deleted permanently. Optional, default value is false.

DeleteEmail(String, Boolean)

Deletes the email with the given messageId.

public void DeleteEmail(
	string messageId,
	bool deletePermanently = false
)public void DeleteEmail(
	string messageId,
	bool deletePermanently = false
)
messageId String
The ID of the email that should be deleted.
deletePermanently Boolean (Optional)
If the email should be deleted permanently. Optional, default value is false.

  • Overloads
  • DeleteEmail(IMail, Boolean)
  • DeleteEmail(String, Boolean)

Was this page helpful?

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