Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Creating the SendEmail Method

The SendEmail method takes two arguments: an e-mail address and the text of the message to send. The method signature, defined within Cinema.UtilsOpens in a new tab class, looks like this:

—Utils.SendEmail—
Utils.SendEmail
Class Cinema.Utils Extends ()  {
// ...

ClassMethod SendEmail(Address As %String, MessageText As %String)
{
    // implementation...
}
}
FeedbackOpens in a new tab