Project

General

Profile

Problem with email notification

Added by Nico H. over 11 years ago

Hello folks,
I configured email notification in my configuration.yml file.
I´m using an Exchange 2010 as mail server, and tried several configurations for that.

But every time, when I like to send a test mail I got the following error:
"An error occurred while sending mail (undefined method `new' for "smtp":String)"

I´m using Redmine 2.1.0 and my mail settings in the configuration.yml looks like:

production:
email_delivery:
delivery_method: smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: '<my smtp server address>'
port: 25
domain: '<my domain>' # 'your.domain.com' for GoogleApps
authentication: :login
user_name: '<my smtp user>'
password: '<my smtp passwd>'
openssl_verify_mode: 'none'

Why doesn´t work that?

greetings


Replies (1)

RE: Problem with email notification - Added by Matt Freitag over 11 years ago

try using delivery_method: :smtp or delivery_method: :sendmail instead of delivery_method: smtp

    (1-1/1)