SmtpClient::Send Method

 

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: