MailMessage Constructor

Initializes a new instance of the MailMessage class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method MailMessage() Initializes an empty instance of the MailMessage class.
Public method MailMessage(MailAddress, MailAddress) Initializes a new instance of the MailMessage class by using the specified MailAddress class objects.
Public method MailMessage(String, String) Initializes a new instance of the MailMessage class by using the specified String class objects.
Public method MailMessage(String, String, String, String) Initializes a new instance of the MailMessage class.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft