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() |
Initializes a new instance of the EmailMessage class. |
EmailMessage(String, String, String[]) |
Initializes a new instance of the EmailMessage class with the specified subject, body, and recipients. |
EmailMessage()
- Source:
- Email.shared.cs
- Source:
- Email.shared.cs
Initializes a new instance of the EmailMessage class.
public:
EmailMessage();
public EmailMessage ();
Public Sub New ()
Applies to
EmailMessage(String, String, String[])
- Source:
- Email.shared.cs
- Source:
- Email.shared.cs
Initializes a new instance of the EmailMessage class with the specified subject, body, and recipients.
public:
EmailMessage(System::String ^ subject, System::String ^ body, ... cli::array <System::String ^> ^ to);
public EmailMessage (string subject, string body, params string[] to);
new Microsoft.Maui.ApplicationModel.Communication.EmailMessage : string * string * string[] -> Microsoft.Maui.ApplicationModel.Communication.EmailMessage
Public Sub New (subject As String, body As String, ParamArray to As String())
Parameters
- subject
- String
The email subject.
- body
- String
The email body.
- to
- String[]
The email recipients.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.