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