{CompanyName} FlexyGo

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

Sends the template mail.

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

Syntax


public static Object SendTemplateMail(
	string EMail,
	string subject,
	string HTMLBody,
	string TextBody,
	string TemplateName
)
Public Shared Function SendTemplateMail ( _
	EMail As String, _
	subject As String, _
	HTMLBody As String, _
	TextBody As String, _
	TemplateName As String _
) As Object

Parameters

EMail
Type: String
The email.
subject
Type: String
The subject.
HTMLBody
Type: String
The html body.
TextBody
Type: String
The text body.
TemplateName
Type: String
Name of the template.

Return Value

true if mail was sent, false otherwise.

Exceptions


ExceptionCondition
ExceptionCould Not send template mail