Bug #401
Redmine Error Sending Email
Description
I encountered a problem with redmine where it would not send email. After checking the production.log I found the following error:
Email delivery error: hostname does not match the server certificate
It turns out I needed to add the following to the configuration.yml:
# default configuration options for all environments
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.example.com
port: 587
domain: example.com
authentication: :login
user_name: "root@example.com"
password: "SuperSecretPassword"
openssl_verify_mode: 'none'
The last line openssl_verify_mode: 'none' is what relaxed the certificate checking.