WittyMailComposer::RenderRTD (open)
Print a RTD for embedding into a mail, with support for images and raw HTML objects
Syntax
LOADLIB "mod::system/lib/mailer.whlib";
MACRO RenderRTD(RECORD rtdtext, RECORD options)Parameters
RECORD rtdtextRich document to embed
RECORD optionsOptions
MACRO PTR htmlpostprocessorCallback which will receive a DOM to rewrite after the rest of the RTD has been prepared but before rendered widgets are merged back into the content
BOOLEAN rawwittytagsInterpret and merge any witty tags found anywhere in HTML, inside embedhtml and content, accepting potential crashes
BOOLEAN wittyhyperlinksSupport witty tags in hyperlinks if they're prefixed with x-witty: