This documentation is archived and is not being maintained.
SmtpClient::SendAsync Method
Visual Studio 2010
Sends an e-mail message. These methods do not block the calling thread.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SendAsync(MailMessage, Object) | Sends the specified e-mail message to an SMTP server for delivery. This method does not block the calling thread and allows the caller to pass an object to the method that is invoked when the operation completes. |
|
SendAsync(String, String, String, String, Object) | Sends an e-mail message to an SMTP server for delivery. The message sender, recipients, subject, and message body are specified using String objects. This method does not block the calling thread and allows the caller to pass an object to the method that is invoked when the operation completes. |
Show: