Attention! This module is very different from the original module. The structure of this module has been heavily reworked to be more in line with the principles used in Kohana.
Edit your bootstrap file APPPATH/bootstrap.php
and enable email module:
Kohana::modules(array(
// Some modules
'email' => MODPATH.'email',
// Some other modules
));
Then copy MODPATH/email/config/email.php
to APPPATH/config/email.php
.
Well done!
Email::instance()
->from('sender@example.com')
->to('first.recipient@example.com')
->to('second.recipient@example.com', 'Mr. Recipient')
->subject('Hi there!')
->body('Hi, guys! This is my awesome email.')
->send();
Enjoy, guys!