UtilMailMailTo(MailMessage) 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(
MailMessage msg
)
Public Shared Sub MailTo (
msg As MailMessage
)
Dim msg As MailMessage
UtilMail.MailTo(msg)
public:
static void MailTo(
MailMessage^ msg
)
static member MailTo :
msg : MailMessage -> unit
No code example is currently available or this language may not be supported.
Parameters
- msg MailMessage
-
A MailMessage that contains the mail address, subject and body to send.
This is a code example.
No code example is currently available or this language may not be supported.
Dim msg As New MailMessage()
msg.To.Add("ElektroStudios@Support.com")
msg.Subject = String.Format("Exception thrown by {0}.exe", Process.GetCurrentProcess.ProcessName)
msg.Body = "A gift for you!"
MailTo(msg)
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.