Useless return

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Fixes in model mail

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Proper encoding for headers

To and Subject are not specified in headers, since they are already added by PHP.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Head is useless.
Reordered arguments in Model_Mail constructor to be more coherent.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Configuration for queues

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Queue inherit form Sender to provide a fully compatible interface

Removed headers view, it is useless.
Emptied header view.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Merge branch 'develop' of github.com:Hete/kohana-mail into develop

Conflicts:
	config/mail.php

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Take input array keys instead of internal fields.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Model_Mail_Receiver extends Model_Validation.
Merge branch 'develop' of github.com:Hete/kohana-mail into develop
Argument redesign.
    $receiver, $subject, $view, $parameters, $headers
mail template is in template/mail.
header view is in mail/header and footer is in mail/footer.
Subject is not mandatory anymore and must be specified.
generate_headers becomes basic_headers.
generate_content has been removed.
fixed Mail_Sender::send for email => name and list of email and name => email.
receiver_subscribed test if the view is not empty instead of only returning true.
Default value for $headers parameter is an array.
Extended documentation
Removed per-sender config (useless).
Added additionnal headers in config file.
From name and email have 'from_name' and 'from_email' keys.
Integrated a styler.

Mail_Sender::factory()
    ->styler($styler) // Set a new styler engine
    ->style('div{background:blue}') // Update style (alias for ->styler->style())
    ->send('foo@bar.com', 'Foo subject', 'foo view'); // Send as usual
Added unit tests.
Added an auto styler Text::auto_p and Text::auto_link.
Using cache in html styler for not parsing css.
Documentation and defined('SYSPATH') or die.
Added unit tests.
Added an auto styler Text::auto_p and Text::auto_link.
Using cache in html styler for not parsing css.
Documentation and defined('SYSPATH') or die.
README.md
Merge branch 'feature-styler' of github.com:Hete/kohana-mail into feature-styler
Added tests and cache for an hour in html styler.
Merge pull request #6 from Hete/develop

Develop