RunSendEmailDialog (open)
Run a dialog in which the user can compose a (rich) mail
Syntax
LOADLIB "mod::system/lib/dialogs.whlib";
MACRO RunSendEmailDialog(OBJECT parent, RECORD options)
Parameters
OBJECT parent
Screen or controller loading this dialog
RECORD options
Options
RECORD ARRAY attachments
Attachments to add to the mail. Should be a list of wrapped blob records (WrapBlob)
BOOLEAN descriptive_to
Use the mailto value as a description (actually send the mail to hiddenbcc)
OBJECT email
Email created using PrepareMailWitty which will be used as the base
STRING ARRAY hiddenbcc
Additional BCC addresses, will not appear in the dialog
STRING ARRAY mailbcc
Suggested mail BCC
STRING ARRAY mailcc
Suggested mail CC
STRING mailfrom
Suggested mail sender
STRING ARRAY mailto
Suggested mail receiver
MACRO PTR onqueuedmail
Callback that will receive the queued mail
BOOLEAN readonlyfrom
If TRUE, make the From: address readonly
STRING sendbuttontitle
Text for sendbutton
STRING subject
Suggested mail subject