System:Mail
From Aspen Documentation
Using PHPMailer version 2.3
Aspen uses the very popular and extremely stable PHPMailer class for handling it's email capabilities. The mailer class is assigned to the mail variable.
An example of using the mailer within the framework would typically look like this.
$this->APP->mail->AddAddress('you@yourdomain.com'); $this->APP->mail->From = $this->APP->config('email_sender'); $this->APP->mail->FromName = $this->APP->config('email_sender_name'); $this->APP->mail->Mailer = "mail"; $this->APP->mail->Subject = "Subject"; $this->APP->mail->Body = 'Hello!'; $this->APP->mail->Send(); $this->APP->mail->ClearAddresses();