8000 GitHub - neo22s/email: DEPRECATED AND NO LONGER MAINTAINED
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ email Public
forked from kierangraham/email

DEPRECATED AND NO LONGER MAINTAINED

Notifications You must be signed in to change notification settings

neo22s/email

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NOT MAINTAINED!

Email Module For Kohana 3.x

Factory-based email class. This class is a simple wrapper around Swiftmailer.

Usage

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

$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:

$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.

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.

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

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.

About

DEPRECATED AND NO LONGER MAINTAINED

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
0