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

Productivity activities

Last updated Feb 19, 2026

SendMailAsync

Sends a SMTP mail message asynchronously.

Namespace: UiPath.Mail.Activities.Api

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

Overloads

OverloadDescription
SendMailAsync(SendSmtpMailOptions, CancellationToken)Sends a SMTP mail message asynchronously, with properties configured using the SendSmtpMailOptions object.
SendMailAsync(SendMailOptions, CancellationToken)Sends a SMTP mail message asynchronously with additional options.
SendMailAsync(string, string, string, CancellationToken)Sends a SMTP mail message asynchronously.

SendMailAsync(SendSmtpMailOptions, CancellationToken)

Sends a SMTP mail message asynchronously, with properties configured using the SendSmtpMailOptions object.

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

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

token CancellationToken : The cancellation token to cancel the operation.

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

[MISSING DESCRIPTION]

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.