Need help with Swift mailer with Kohana wrapper
- by alex
My current code is this
$swift = email::connect();
$swift->setSubject('hello')
->setFrom(array('alex@example.com.au' => 'Alex'))
->setTo(array('alex@example.com.au' => 'Alex'))
->setBody('hello')
->attach(Swift_Attachment::fromPath(DOCROOT .…