John Griffiths wrote:
> trying to get a rails app to work with Gmail under ruby 1.8.6, but
> getting some weird errors, any help really appreciated.
>
>
> then added my settings to : smtp_gmail.rb
>
> -------------
> require "smtp_tls"
>
> ActionMailer::Base.raise_delivery_errors = true
> ActionMailer::Base.delivery_method = :smtp
> ActionMailer::Base.smtp_settings = {
> :enable_starttls_auto => true,
> :address => "smtp.gmail.com",
> :port => 587,
> :domain => 'mydomain.com',
> :authentication => :plain,
> :user_name => '[email protected]',
> :password => 'password'
> }
> any ideas?
>
> would really love to know where i'm going wrong, basically followed his
> example below to the letter, don't know where i've gone wrong.
hi John
better you switch to ruby 1.8.7 as Ruby 1.8.7 supports SMTP TLS.
https://rails.lighthouseapp.com/projects/8994/tickets/1336-starttls-for-smtp-makes-gmail-go
I will not suggess install a plugin (in 1.8.6) for something that was
fixed, trialled, and used in later versions.
anyway for ruby 1.8.6 you can try this one:
https://projects.littlestreamsoftware.com/projects/83/wiki/Actionmailer?version=8
regards
-Abhishek Singh
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---