SmtpClient.Send Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSend(MailMessage)

Sends the specified message to an SMTP server for delivery.

System_CAPS_pubmethodSend(String, String, String, String)

Sends the specified e-mail message to an SMTP server for delivery. The message sender, recipients, subject, and message body are specified using String objects.

Return to top
Show: