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

Productivity activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated