EmailMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EmailMessage() |
Creates a new instance of EmailMessage. |
EmailMessage(String, String, String[]) |
Creates a new instance of EmailMessage with the specified subject, body and recipients. |
EmailMessage()
Creates a new instance of EmailMessage.
public EmailMessage ();
Applies to
EmailMessage(String, String, String[])
Creates a new instance of EmailMessage with the specified subject, body and recipients.
public EmailMessage (string subject, string body, params string[] to);
Parameters
- subject
- System.String
The email subject.
- body
- System.String
The email body.
- to
- System.String[]
The email's recipients.