Execute a Document (that allows unattended execution, e.g., a Word Document but NOT a Word VBA) and send it as an unattended Email containing the attached Document File. This Document must set a return value of "WordDocument" that is an ISWordDocument object.

Syntax

finDocumentFunctions.SendEmailFromDocumentExecute(documentId, parameters, subject, body, recipientsTo, [recipientsCc], [recipientsBcc], [senderEmailAddress], [senderDisplayName], [appendSignature], [html], [entityPk])

Parameters

NameTypeOptionalByRefDescription
documentId String The Id of the Document to execute.
parameters ISKeyValueList A Key/Value List of Parameters to pass to the Document.
subject String The Email Subject.
body String The Email Body, either plain text or HTML.
recipientsTo String A comma or semi-colon separated list of Email recipients.
recipientsCc String Optional A comma or semi-colon separated list of Email recipients to CC.
recipientsBcc String Optional A comma or semi-colon separated list of Email recipients to BCC.
senderEmailAddress String Optional The Email Address of the Sender or blank to use the details specified under User Preferences.
senderDisplayName String Optional The Display Name of the Sender or blank to use the details specified under User Preferences.
appendSignature Boolean Optional Indicates whether to Append the Signature defined under Global Settings and User Preferences to the end of the Email Body. If omitted, a value of False is assumed.
html Boolean Optional Indicates whether the body is HTML. If omitted, a value of False is assumed.
entityPk Integer Optional If omitted, a value of 0 is assumed.

Return Value

Boolean

A Boolean value indicating success.

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