$sendEmail()

Overview

public any function $sendEmail()

Proxy to the send() method of the Email service. See Email templating (pre-10.8.0) for a full guide.

Example

$sendEmail(
          template = "eventBookingConfirmation"
        , args     =  { bookingId = arguments.bookingId }
);