Email elements
Email elements are special elements that are used as templates for sending emails. They work exactly like an ordinary element but are available from the controller using:
Vork comes with some default email elements, the retrievePass email element is used by the
get::element('emails/yourElement', $args)
$args
are optional, if used they must be an associative array. All keys in the array become local variables within the email element, eg.: array('firstname' => 'Larry')
can be accessed within the email element via $firstname
Vork comes with some default email elements, the retrievePass email element is used by the
forgotPassword()
method of the account component.