 | MailSendMail Method (String, String, String, String, String, Boolean, MailPriority) |
Send an email via SMTP
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static bool SendMail(
string smtpAddress,
string from,
string to,
string title,
string body,
bool isHtml,
MailPriority priority
)
Public Shared Function SendMail (
smtpAddress As String,
from As String,
to As String,
title As String,
body As String,
isHtml As Boolean,
priority As MailPriority
) As Boolean
Parameters
- smtpAddress
- Type: SystemString
Smtp address - from
- Type: SystemString
From mail address - to
- Type: SystemString
To mail address - title
- Type: SystemString
Subject of the email - body
- Type: SystemString
Body of mail's message - isHtml
- Type: SystemBoolean
Format of the body - priority
- Type: System.Net.MailMailPriority
Priority of the email
Return Value
Type:
BooleanTrue if messagge sended successfully; false otherwise
See Also