UtilMailMailTo(MailAddressCollection, String, String) Method
Runs the default mail client to send an email with the specified parameters.
Namespace: DevCase.Core.Networking.MailingAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void MailTo(
MailAddressCollection addresses,
string subject,
string body
)
Public Shared Sub MailTo (
addresses As MailAddressCollection,
subject As String,
body As String
)
Dim addresses As MailAddressCollection
Dim subject As String
Dim body As String
UtilMail.MailTo(addresses, subject, body)
public:
static void MailTo(
MailAddressCollection^ addresses,
String^ subject,
String^ body
)
static member MailTo :
addresses : MailAddressCollection *
subject : string *
body : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- addresses MailAddressCollection
-
The mail addresses.
- subject String
-
The subject of the email.
- body String
-
The body content of the email.
This is a code example.
No code example is currently available or this language may not be supported.
Dim addressCollection As New MailAddressCollection
addressCollection.Add(New MailAddress("Address@Server.com"))
addressCollection.Add(New MailAddress("Address2@Server.com"))
MailTo(mailAddresses:=addressCollection,
subject:="A gift for you!",
body:="Hello World!")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.