RunEmailViewDialog (open)

Run a dialog to (pre)view a single mail

Syntax

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

MACRO RunEmailViewDialog(OBJECT parent, BLOB email, RECORD options)

Parameters

OBJECT parent

Screen or controller loading this dialog

BLOB email

Email (as message/rfc822, also known as .EML)

RECORD options

Options

STRING origin

Origin of the message (used to be in X-WebHare-Origin)

BOOLEAN sensitive

Mark the mail contents as sensitive (for sysop eyes only)

INTEGER task

id of the managed task associated with this email