WittyMailComposer::AddResourceAsAttachment (open)

Add an attachment relative to the mailing we uplodaded

Syntax

LOADLIB "mod::system/lib/mailer.whlib";

MACRO AddResourceAsAttachment(STRING resourcepath, RECORD options)

Parameters

STRING resourcepath

Path to attachment

RECORD options

Options

STRING filename

Filename. Autogenerated if unset

STRING mimetype

Mimetype. Autodetected by ScanBlob if not set