UtilMailMailTo(MailAddress, 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(
MailAddress address,
string subject,
string body
)
Public Shared Sub MailTo (
address As MailAddress,
subject As String,
body As String
)
Dim address As MailAddress
Dim subject As String
Dim body As String
UtilMail.MailTo(address, subject, body)
public:
static void MailTo(
MailAddress^ address,
String^ subject,
String^ body
)
static member MailTo :
address : MailAddress *
subject : string *
body : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- address MailAddress
-
The mail address, or multiple adresses separated by a ";" character.
- 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.
MailTo(mailAddress:=New MailAddress("Name@Server.com"),
subject:="A gift for you!",
body:="Hello World!")
MailTo(mailAddress:=New MailAddress("ElektroStudios@Support.com"),
subject:=String.Format("Exception thrown by {0}.exe", Process.GetCurrentProcess.ProcessName),
body:="A gift for you!")
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.