| GenerateHTMLEmail |
| |
Create an email message based on a source document |
| |
| Library |
 |
module::system/mailer.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION GenerateHTMLEmail (BLOB doc,RECORD wittydata) |
| |
| Parameters |
 |
| doc |
 |
Document to convert (of a supported type) |
 |
| wittydata |
 |
Witty data to use in mailing. If a default record is passed, no witty interpreter is run over the document |
 |
|
| |
| Returns |
 |
A record describing the conversion results |
| |
The record contains the following cells:
| success |
 |
True if the conversion was successful |
 |
| toppart |
 |
Top part of the email message |
 |
|
| |