Project

General

Profile

Cannot send Email from Redmine with SMTP

Added by Aris De Natale over 10 years ago

Hello.

I'm running Redmine latest version (2.3.2), and when I try to send test email I receive the message:

An error occurred while sending mail (hostname was not match with the server certificate)

I tried to follow the guide described here: http://www.redmine.org/boards/2/topics/6446

but I don't found the file mentioned there to patch.

If I run:

#rails -v
Rails 3.2.8

My configuration.yml file:

production:
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
       address: "192.168.x.x" (Internal email server IP, it is a dedicated server)
       port: [port]

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: 192.168.x.x (Internal email server IP, it is a dedicated server)
      port: [port]
      domain: postfix.domain.com


How I can fix this problem to get email working in redmine?

Thanks


Replies (2)

RE: Cannot send Email from Redmine with SMTP - Added by Thomas Godard over 10 years ago

I don't know how to solve your problem but I can see that your Rails version is quite old.

In the RedmineInstall, it is recommanded to have Rails 3.2.13 for the latest versions of Redmine.

RE: Cannot send Email from Redmine with SMTP - Added by Aris De Natale over 10 years ago

Can you please explain me the procedure to upgrade it without to affect redmine functionality?

    (1-2/2)