class %DeepSee.UI.Dialog.SendMail
extends %DeepSee.UI.Dialog.standardDialog
This dialog lets the user send a dashboard via email.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
method %OnAfterCreatePage()
as %Status
Be sure to do ##super() when overriding.
method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
classmethod %RegisterSendTo(pSendTo As %String)
as %Status
Remember this sendTo address in local list.
classmethod ClearHistory()
[ ZenMethod ]
Clear the sendTo history for the current user.
classmethod DrawHelp(pSeed As %String)
as %Status
classmethod SendMailViaSMTP(pSendTo As %String, pSubject As %String, pComments As %String, pURL As %String)
as %String
[ ZenMethod ]
Send an email message using the system-defined SMTP server.
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method ondialogFinish(action)
as %Boolean
[ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons.
If this returns false, then the action is cancelled.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.