Sends an e-mail using the System.Net.Mail.MailMessage object
Namespace: umbraco
Assembly: umbraco (in umbraco)
Version: 1.0.2698.41384
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Sub SendMail ( _ FromMail As String, _ ToMail As String, _ Subject As String, _ Body As String, _ IsHtml As Boolean _ ) |
| C# |
|---|
public static void SendMail ( string FromMail, string ToMail, string Subject, string Body, bool IsHtml ) |
| Visual C++ |
|---|
public: static void SendMail ( String^ FromMail, String^ ToMail, String^ Subject, String^ Body, bool IsHtml ) |
Parameters
- FromMail
- System.String
The sender of the e-mail
- ToMail
- System.String
The recipient of the e-mail
- Subject
- System.String
E-mail subject
- Body
- System.String
The complete content of the e-mail
- IsHtml
- System.Boolean
Set to true when using Html formatted mails