Error with ActionMailer


#1

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:


#2

These are my configuration settings in base.rb

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

Are these incorrect?