Hete / kohana-mail

Mailer for the Kohana framework
5 stars 2 forks source link

Mailchimp Sender #9

Closed rakucmr closed 10 years ago

rakucmr commented 10 years ago

Can you add Mailchimp sender or other similar services?

arteymix commented 10 years ago

You can send mail on Mailchimp using SMTP protocol.

PEAR SMTP works, but it's real crap. I think I should implement something like a PHPMailer backend #10.

arteymix commented 10 years ago

If you want, you can use PEAR for now.

return array(
    'mailchimp' => array(
        'sender' => 'PEAR_SMTP',
        'options' => array(
            'host' => 'smtp.mandrillapp.com',
            'username' => '', // mailchimp username
            'password' => '' // mailchimp api key
        )
    )
);
Mailer::factory('mailchimp')
    ->subject('')
    ->body('')
    ->send('johndoe@example.com');
rakucmr commented 10 years ago

Thank you, I will use like this until you integrate PHPMailer or SWIFTmailer

arteymix commented 10 years ago

I will integrate it in the 3.3/develop ;)

2014-07-22 10:23 GMT-04:00 Razvan notifications@github.com:

Thank you, I will use like this until you integrate PHPMailer or SWIFTmailer

— Reply to this email directly or view it on GitHub https://github.com/Hete/kohana-mail/issues/9#issuecomment-49745511.

Guillaume Poirier-Morency guillaumepoiriermorency@gmail.com

Développeur Web chez http://www.hete.ca

arteymix commented 10 years ago

PHPMailer is fully integrated!