google app engine - sendgrid port 2525 not working in Rails app -
i trying use google cloud offer sendgrid in rails app. in config/environment/production.rb, have:
config.action_mailer.delivery_method = :smtp # smtp settings use sendgrid actionmailer::base.smtp_settings = { :user_name => "myusername", :password => "mypassword", :domain => "mydomain", :address => "smtp.sendgrid.net", :port => 2525, :authentication => :plain, :enable_starttls_auto => true } it connects instantly , instantly error:
net::smtpauthenticationerror (535 authentication failed: bad username / password i can go there on web , login same credentials, no problem. have ideas why happening?
this turned out rvm issue. uninstalling , reinstalling rvm fixed this.
Comments
Post a Comment