メインコンテンツまでスキップ

Introduction

Providing some functions for sending email

How to use

You can load Mail class through Application::getClass method.

Controller
$mail = $this->getClass('Tool/Mail');
$mail->subject('Mail subject');
$mail->body('Mail body');

$mail->send('mail@example.com', 'John Doe', 'from@example.com');

Methods