[Cruisecontrolrb-users] cc.rb: eMail config

26 views
Skip to first unread message

Christopher Gaudig

unread,
Sep 17, 2010, 6:24:59 AM9/17/10
to cruisecont...@rubyforge.org
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 =>      "myuse...@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

Satya Gautham

unread,
Sep 17, 2010, 10:19:29 AM9/17/10
to cruisecont...@rubyforge.org
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

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecont...@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users


Evan Dorn

unread,
Sep 17, 2010, 12:18:07 PM9/17/10
to cruisecont...@rubyforge.org
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:

Christopher Gaudig

unread,
Sep 17, 2010, 12:49:44 PM9/17/10
to cruisecont...@rubyforge.org
Thanks! That worked like a charm!
Reply all
Reply to author
Forward
0 new messages