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('info@example.com', 'Information');
$email->addBCC('bcc@example.com');
Clone this wiki locally