MailMessage Constructor

 

Initializes a new instance of the MailMessage class.

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

NameDescription
System_CAPS_pubmethodMailMessage()

Initializes an empty instance of the MailMessage class.

System_CAPS_pubmethodMailMessage(MailAddress, MailAddress)

Initializes a new instance of the MailMessage class by using the specified MailAddress class objects.

System_CAPS_pubmethodMailMessage(String, String)

Initializes a new instance of the MailMessage class by using the specified String class objects.

System_CAPS_pubmethodMailMessage(String, String, String, String)

Initializes a new instance of the MailMessage class.

Return to top
Show: