Skip to content
Mariusz Łączak edited this page Dec 1, 2013 · 3 revisions

Example usage

Easy way to load email layout, a view from views/email/ and pass parameters to the view.

<?php
$email = new Email();
$email->prepare($subject, $to, $view, $params = array());
$email->Send();

You can use all PHPMailer features like:

<?php
$email->addReplyTo('[email protected]', 'Information');
$email->addBCC('[email protected]');
Clone this wiki locally