{CompanyName} FlexyGo

Mail..::..SendTemplateMail Method (String, String, String, String, ArrayList, EntityObject, 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 TemplateName,
	ArrayList docs,
	EntityObject Entity,
	string ReplyTo,
	string CC
)
Public Shared Function SendTemplateMail ( _
	EMail As String, _
	subject As String, _
	Body As String, _
	TemplateName As String, _
	docs As ArrayList, _
	Entity As EntityObject, _
	ReplyTo As String, _
	CC As String _
) As Boolean

Parameters

EMail
Type: String
The email.
subject
Type: String
The subject.
Body
Type: String
The body.
TemplateName
Type: String
Name of the template.
docs
Type: ArrayList
The docs.
Entity
Type: FLEXYGO.Objects..::..EntityObject
Entity to parse properties.
ReplyTo
Type: String
Reply to.
CC
Type: String
CC.

Return Value

true if mail was sent, false otherwise.

Exceptions


ExceptionCondition
ExceptionCould Not send template mail