WittyMailComposer::AddAttachment (open)
Add an attachment to the mailing.
Syntax
LOADLIB "mod::system/lib/mailer.whlib";
MACRO AddAttachment(BLOB attachment, RECORD options)Parameters
BLOB attachmentData of attachment
RECORD optionsOptions
STRING filenameFilename. Autogenerated if unset
STRING mimetypeMimetype. Autodetected by ScanBlob if not set
Description
Adds a blob and autodetects any missing properties. Use AddWrappedAttachment if you have a wrapped blob record