Subject: | username/password used in documentation instead of sasl_username/password |
Date: | Wed, 11 Aug 2010 19:42:05 +0300 |
To: | bug-Catalyst-View-Email [...] rt.cpan.org |
From: | "Serg V. Gulko" <s.gulko [...] gmail.com> |
Hello!
Not sure that this is a bug but I spend a lot of time today looking for
a reason why I cant sent mail using smtp.gmail.com.
Code which was working few months ago now stop send emails.
mailer_args => {
host => 'smtp.gmail.com',
username => 'my_gmail_id',
port => 465,
ssl => 1,
password => 'my_password'
}
I have found in documentation for Email::Sender::Transport::SMTP that
sasl_username and sasl_password should be used. At least this allow me
send mails:)
mailer_args => {
host => 'smtp.gmail.com',
sasl_username => 'my_gmail_id',
port => 465,
ssl => 1,
sasl_password => 'my_password'
}
Serg Gulko