UiPath Documentation
activities
latest
false
Productivity activities

SendMailAsync

Sends an email message asynchronously.

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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated