Problem for configuration smtp with Gmail
Added by Jean Szabo almost 17 years ago
Hello,
I try to send notification whith my gmail account, but i have this error :
wrong number of arguments (3 for 2)
I install like this :
curl -O http://blog.expandrive.com/wp-content/uploads/2008/12/smtp_tls.rb
add require 'smtp_tls' into environnements/production.rd,
and configure email.rb :
Outgoing email settings
production:
delivery_method: :smtp
smtp_settings:
tls: true
address: smtp.gmail.com
port: 587
domain: mydomain
authentication: :login
user_name: myusername@mydomain
password: mypassword
I have forget something ?
Jean
Replies (1)
RE: Problem for configuration smtp with Gmail
-
Added by Greg Pederson almost 17 years ago
Jean,
Not sure if this will help, but I happened across it while trying to figure out my own app issues with gmailing..the article specifically addresses wrong # of args 3 for 2
http://blog.inspired.no/smtp-error-while-using-gmail-in-rails-271
Good luck,
Greg