Format an Email Message from the supplied details.

Syntax

finDocumentFunctions.FormatEmailMessage(message, isHtml, [htmlMessageTemplate], [includeSignature], [signature], [branchPk])

Parameters

NameTypeOptionalByRefDescription
message String The Email Message.
isHtml Boolean Indicates whether the Message is in HTML format.
htmlMessageTemplate String Optional An HTML Message Template or '*' to use the template defined by User Settings. If omitted, a value of * is assumed.
includeSignature Boolean Optional Indicates whether to append a Signature to the message. If omitted, a value of True is assumed.
signature String Optional The Signature to append to the bottom of the message or '*' to use the Signature defined by Global and User Settings. This will be ignored if the message is HTML and already contains an HTML tag unless the message contains a [Signature] tag in which case, the signature will be inserted at this point. If a [NoSignature] tag is included in the message then the signature will be ignored. If omitted, a value of * is assumed.
branchPk Integer Optional The Branch to use or zero to just use the User's Signature. Entities can define their own Email Signature and this will override the global Email Disclaimer if defined. If omitted, a value of 0 is assumed.

Return Value

String

A String value.

Member of:
finDocumentFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0