{CompanyName} FlexyGo

Mail..::..SendTemplateMail Method (String, String, String, String, List<(Of <(<'Attachment>)>)>, 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,
	List<Attachment> ReportsList,
	EntityObject Entity,
	string ReplyTo,
	string CC
)
Public Shared Function SendTemplateMail ( _
	EMail As String, _
	subject As String, _
	Body As String, _
	TemplateName As String, _
	ReportsList As List(Of Attachment), _
	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.
ReportsList
Type: List<(Of <(<'Attachment>)>)>
A list of crystal report document attachments
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