{CompanyName} FlexyGo

Mail..::..SendTemplateMail Method (String, String, String, String, String, String, String)

Sends the template mail.

Namespace:  FLEXYGO.Mails
Assembly:  flxMail (in flxMail.dll)

Syntax


public static bool SendTemplateMail(
	string EMail,
	string subject,
	string Body,
	string From,
	string CC,
	string FromName,
	string ReplyTo
)
Public Shared Function SendTemplateMail ( _
	EMail As String, _
	subject As String, _
	Body As String, _
	From As String, _
	CC As String, _
	FromName As String, _
	ReplyTo As String _
) As Boolean

Parameters

EMail
Type: String
The email.
subject
Type: String
The subject.
Body
Type: String
The body.
From
Type: String
Mail sender email
CC
Type: String
Carbon Copy.
FromName
Type: String
An specifc Name to send from
ReplyTo
Type: String
Mail to reply To

Return Value

true if mail was sent, false otherwise.

Exceptions


ExceptionCondition
ExceptionCould Not send template mail