views:

181

answers:

1

I'm using Rails 2.3.8 and ruby 1.9 and have actionMailer set up as follows

ActionMailer::Base.delivery_method = :smtp

ActionMailer::Base.smtp_settings = {

 :enable_starttls_auto => true,

 :address => "smtp.gmail.com",

 :port => 587,

 :domain => "domain.com",

 :authentication => :plain,

 :user_name => "[email protected]",

 :password => "mypassword"

}

When i try and execute I get the following error:

Net::SMTPAuthenticationError in ...

530 5.7.0 Must issue a STARTTLS command first

Since I'm running greater than Rails 2.2 and Ruby 1.8 I shouldn't need any additional gems, right?

Does the account need to be the administrator of the google domains account?

Let me know if you an error that I'm missing...

Thanks

+1  A: 

Maybe this discussion will answer your question.

buru