VariableserrorstoheadersmailfrommailsendernamemergerecordoriginpostrestructurehookprerestructurehookreplytorestructuresubjectwittyencodingPropertiesattachmentsmailbccmailccmailtemplatepathmailtomergerecordextensionsFunctionsAddAlternativeAddAttachmentAddEmbeddedObjectAddResourceAsAttachmentAddWrappedAlternativeAddWrappedAttachmentCreateMailingExportAsEMLGetEventMasksGetRTDBodyQueueMailInWorkRenderRTDWittyMailComposer::CreateMailing (open)SyntaxLOADLIB "mod::system/lib/mailer.whlib"; RECORD FUNCTION CreateMailing()Return valueRECORD