{CompanyName} FlexyGo

Mail..::..GetMailTemplate Method

Gets the mail template from the Mails_Templates Table and replaces the body {{Msg}} string with the Msg content.

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

Syntax


public static string GetMailTemplate(
	string TemplateName,
	string Msg,
	EntityObject Entity
)
Public Shared Function GetMailTemplate ( _
	TemplateName As String, _
	Msg As String, _
	Entity As EntityObject _
) As String

Parameters

TemplateName
Type: String
Name of the template.
Msg
Type: String
The MSG.
Entity
Type: FLEXYGO.Objects..::..EntityObject
Entity to parse properties.

Return Value

System.String.

Exceptions


ExceptionCondition
ExceptionError building Template Mail