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

Productivity activities

Last updated Feb 19, 2026

SendMailAsync

Sends an email message asynchronously.

Namespace: UiPath.Mail.Activities.Api

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

Overloads

OverloadDescription
SendMailAsync(SendMailOptions, CancellationToken)Sends an email message asynchronously with additional options.
SendMailAsync(string, string, string, CancellationToken)Sends an email message asynchronously.

SendMailAsync(SendMailOptions, CancellationToken)

Sends an email message asynchronously with additional options.

Task SendMailAsync(
	SendMailOptions options,
	CancellationToken token
)
Task SendMailAsync(
	SendMailOptions options,
	CancellationToken token
)

options SendMailOptions : The options used to send the email message.

token CancellationToken : The cancellation token to cancel the operation.

SendMailAsync(string, string, string, CancellationToken)

Sends an email message asynchronously.

Task SendMailAsync(
	string to,
	string subject,
	string body,
	CancellationToken token
)
Task SendMailAsync(
	string to,
	string subject,
	string body,
	CancellationToken token
)

to String : The main recipients of the email message, separated by semicolon.

subject String : The subject of the email message.

body String : The body of the email message.

token CancellationToken : The cancellation token to cancel the operation.

Return value

Task: Represents an asynchronous operation.

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.