Hi again (sorry to bother you),
can anyone send me a working eMail configuration, let''s say for gmail?
I
am having trouble with this one here:
ActionMailer::Base.smtp_settings = {
   :address =>        "smtp.gmail.com",
   :port =>           587,
   :domain =>         "googlemail.com",
   :tls => "true",
   :authentication => :login,
   :user_name =>      "myusername at googlemail.com",
   :password =>       "mypassword"
}
It gives me the following error:
Error in plugin EmailNotifier: wrong number of arguments (3 for 2) 
<http://localhost:3333/projects/cuslam_incremental>
Any help would be appreciated. Thanks!
Regards
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20100917/4889d34f/attachment.html>
ActionMailer::Base.smtp_settings = {
                    :tls            => true,
                    :address        => "smtp.gmail.com",
                    :port           => 587,
                    :domain         => "mail.aaaa.com",
                    :authentication => :plain,
                    :user_name      => "aaaaa",
                    :password       => "aaaaa"
}
is what we use
On Fri, Sep 17, 2010 at 3:54 PM, Christopher Gaudig <
christopher.gaudig at dfki.de> wrote:
>  Hi again (sorry to bother you),
>
> can anyone send me a working eMail configuration, let''s say for
gmail? I am
> having trouble with this one here:
>
> ActionMailer::Base.smtp_settings = {
>   :address =>        "smtp.gmail.com",
>   :port =>           587,
>   :domain =>         "googlemail.com",
>   :tls => "true",
>   :authentication => :login,
>   :user_name =>      "myusername at
googlemail.com"<myusername at googlemail.com>
> ,
>   :password =>       "mypassword"
> }
>
> It gives me the following error:
>
> Error in plugin EmailNotifier: wrong number of arguments (3 for
2)<http://localhost:3333/projects/cuslam_incremental>
>
> Any help would be appreciated. Thanks!
>
> Regards
> Chris
>
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20100917/6c7164f4/attachment.html>
This is a known bug ... IIRC it involves a version of the code that''s not prepared to handle the third argument required when connecting to a TLS server. Here are instructions for fixing it: http://jira.public.thoughtworks.org/browse/CCRB-187 Evan On Sep 17, 2010, at 3:24 AM, Christopher Gaudig wrote:> Hi again (sorry to bother you), > > can anyone send me a working eMail configuration, let''s say for gmail? I am having trouble with this one here: > > ActionMailer::Base.smtp_settings = { > :address => "smtp.gmail.com", > :port => 587, > :domain => "googlemail.com", > :tls => "true", > :authentication => :login, > :user_name => "myusername at googlemail.com", > :password => "mypassword" > } > > It gives me the following error: > > Error in plugin EmailNotifier: wrong number of arguments (3 for 2) > > Any help would be appreciated. Thanks! > > Regards > Chris > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20100917/db1e9a59/attachment.html>
Thanks! That worked like a charm! On 09/17/2010 06:18 PM, Evan Dorn wrote:> This is a known bug ... IIRC it involves a version of the code that''s > not prepared to handle the third argument required when connecting to > a TLS server. > > Here are instructions for fixing it: > > http://jira.public.thoughtworks.org/browse/CCRB-187 > > Evan > > > On Sep 17, 2010, at 3:24 AM, Christopher Gaudig wrote: >> Hi again (sorry to bother you), >> >> can anyone send me a working eMail configuration, let''s say for >> gmail? I am having trouble with this one here: >> >> ActionMailer::Base.smtp_settings = { >> :address => "smtp.gmail.com <http://smtp.gmail.com>", >> :port => 587, >> :domain => "googlemail.com <http://googlemail.com>", >> :tls => "true", >> :authentication => :login, >> :user_name => "myusername at googlemail.com", >> :password => "mypassword" >> } >> >> It gives me the following error: >> >> Error in plugin EmailNotifier: wrong number of arguments (3 for 2) >> <http://localhost:3333/projects/cuslam_incremental> >> >> Any help would be appreciated. Thanks! >> >> Regards >> Chris >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> <mailto:Cruisecontrolrb-users at rubyforge.org> >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20100917/0e6cf669/attachment.html>