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

Productivity Activities

Last updated Mar 19, 2025

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.
 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]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.

 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]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.

 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]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 White
© 2005-2025 UiPath. All rights reserved.