\CaptureMailer

A mailer that can be used to capture emails instead of sending them out

Synopsis

class CaptureMailer extends Mailer {
}

Hierarchy

Extends

  • Mailer

Members

private

  • $capture_emails — null
    Legacy fields we check on in __constructor and throw an exception if they are set to a value other than null
  • $outbound_send

protected

  • $send

public

  • $captureEmails — boolean
    Do we capture emails in the system?
  • $outboundMailerObject
    Mailer or a sub-class of Mailer that can be used for sending the captured emails

Methods

public