Error with ActionMailer

I wrote my app in Rails 2.1 - emails seemed to work fine.
My host are running Rails 2.2.2 though and now I get this error
message when sending emails:

OpenSSL::SSL::SSLError (hostname was not match with the server
certificate):

Can anyone advise?

Thanks

:slight_smile:

These are my configuration settings in base.rb

@@smtp_settings = {
  :address        => "localhost",
  :port           => 25,
  :domain         => 'thinkersplayground.com',
  :user_name      => '[email protected]',
  :password       => 'mypassword',
  :authentication => :login
}
cattr_accessor :smtp_settings

Are these incorrect?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs