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 parentScreen or controller loading this dialog
RECORD optionsOptions
RECORD ARRAY attachmentsAttachments to add to the mail. Should be a list of wrapped blob records (WrapBlob)
BOOLEAN descriptive_toUse the mailto value as a description (actually send the mail to hiddenbcc)
OBJECT emailEmail created using PrepareMailWitty which will be used as the base
STRING ARRAY hiddenbccAdditional BCC addresses, will not appear in the dialog
STRING ARRAY mailbccSuggested mail BCC
STRING ARRAY mailccSuggested mail CC
STRING mailfromSuggested mail sender
STRING ARRAY mailtoSuggested mail receiver
MACRO PTR onqueuedmailCallback that will receive the queued mail
BOOLEAN readonlyfromIf TRUE, make the From: address readonly
STRING sendbuttontitleText for sendbutton
STRING subjectSuggested mail subject