Skip to main content

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