Closed knightsamar closed 14 years ago
knightsamar, if you're using 2.3.5 and 1.8.7, you don't need this gem. remove it and follow the instructions to configure Rails to send your email via secure SMTP.
ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :authentication => :plain, :enable_starttls_auto => true, :user_name => "noreply@gmail_or_your_google_domain.com", :password => "yinyang" }
Hi,
I have rails 2.3.5 and ruby 1.8.7 and am using redmine 0.9
When I execute Notifier.deliver_hello_world for testing, I get the following error log on script/console
ArgumentError: wrong number of arguments (3 for 2) from /usr/lib/ruby/gems/1.8/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:8:in
check_auth_args' from /usr/lib/ruby/gems/1.8/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:8:in
do_start' from /usr/lib/ruby/1.8/net/smtp.rb:525:instart' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:682:in
perform_delivery_smtp' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in__send__' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in
deliver!' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:395:in `method_missing' from (irb):2Any fixes ?