GenerateHTMLEmail (open)
Create an email message based on a source document
Syntax
LOADLIB "mod::system/lib/mailer.whlib";
RECORD FUNCTION GenerateHTMLEmail(BLOB doc, RECORD wittydata)
Parameters
BLOB doc
Document to convert (of a supported type)
RECORD wittydata
Witty data to use in mailing. If a default record is passed, no witty interpreter is run over the document
Return value
RECORD
A record describing the conversion results
success
True if the conversion was successful
toppart
Top part of the email message