2017 © Pedro Peláez
 

library kohana-swiftmailer

Email helper for Kohana, uses Swiftmailer

image

yakatz/kohana-swiftmailer

Email helper for Kohana, uses Swiftmailer

  • Thursday, January 12, 2017
  • by yakatz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 78 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Email Module For Kohana 3.x

Factory-based email class. This class is a simple wrapper around Swiftmailer., (*1)

Usage

Create new messages using the Email::factory($subject, $message) method. Add recipients, add sender, send message:, (*2)

$email = Email::factory('Hello, World', 'This is my body, it is nice.')
    ->to('person@example.com')
    ->from('you@example.com', 'My Name')
    ->send()
    ;

You can also add HTML to your message:, (*3)

$email->message('<p>This is <em>my</em> body, it is <strong>nice</strong>.</p>', 'text/html');

Additional recipients can be added using the to(), cc(), and bcc() methods., (*4)

Additional senders can be added using the from() and reply_to() methods. If multiple sender addresses are specified, you need to set the actual sender of the message using the sender() method. Set the bounce recipient by using the return_path() method., (*5)

To access and modify the Swiftmailer message directly, use the raw_message() method., (*6)

Message Part Order

Due to a bug in SwiftMailer, a message with HTML and plain text must have the HTML set first. As of kohana-swiftmailer version 1.1, message() defaults to text/html. We are looking for a more flexible solution., (*7)

Configuration

Configuration is stored in config/email.php. Options are dependant upon transport method used. Consult the Swiftmailer documentation for options available to each transport., (*8)

The Versions

12/01 2017

dev-master

9999999-dev https://github.com/yakatz/kohana-swiftmailer

Email helper for Kohana, uses Swiftmailer

  Sources   Download

BSD-3-Clause

The Requires

 

by Yehuda Katz

email library helper swiftmailer module kohana

12/01 2017

v2.1.0

2.1.0.0 https://github.com/yakatz/kohana-swiftmailer

Email helper for Kohana, uses Swiftmailer

  Sources   Download

BSD-3-Clause

The Requires

 

by Yehuda Katz

email library helper swiftmailer module kohana

15/09 2014

v2.0.2

2.0.2.0 http://github.com/shadowhand/email

Email helper class, uses Swiftmailer

  Sources   Download

BSD-3-Clause

The Requires

 

email library helper swiftmailer module kohana ohanzee

21/08 2014

2.0.1

2.0.1.0 http://github.com/shadowhand/email

Email helper class, uses Swiftmailer

  Sources   Download

BSD-3-Clause

The Requires

 

email library helper swiftmailer module kohana ohanzee

16/08 2014

2.0.0

2.0.0.0 http://github.com/shadowhand/email

Email helper class, uses Swiftmailer

  Sources   Download

BSD-3-Clause

The Requires

 

email library helper swiftmailer module kohana ohanzee