class Mail (View source)

The mail class.

Properties

static private $sent Save status to avoid a second trigger for example in pagelists or teaser snippets.

Methods

static string
send(object $data, Automad $Automad)

Send mail.

Details

static string send(object $data, Automad $Automad)

Send mail.

Parameters

object $data
Automad $Automad

Return Value

string the sendig status