Click or drag to resize
MailSendMail Method (String, String, String, String, String, Boolean, MailPriority)
Send an email via SMTP

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static bool SendMail(
	string smtpAddress,
	string from,
	string to,
	string title,
	string body,
	bool isHtml,
	MailPriority priority
)

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: Boolean
True if messagge sended successfully; false otherwise
See Also