Redmine + JRuby: Outgoing emails not working
Added by Daniel Morgan over 13 years ago
Hello,
I am trying to use Redmine 1.3.0 with TorqueBox 2.0.0.beta2.
I have got JBoss up and running with Redmine accessible without any problems.
However, outgoing emails from Redmine are not working at all. (No errors in logs)
- WinXP SP3
- TorqueBox 2.0.0.beta2
- JBoss AS7
- JRuby 1.6.5.1 (Ruby-1.8.7-p330)
- Redmine 1.3.0
- WinXP SP3
- Apache 2.2.21
- Ruby 1.8.7
- Redmine 1.3.0
My configuration YAML file contains the following:
production: email_delivery: delivery_method: :smtp smtp_settings: address: 'xxx.xxx.com' port: 25 domain: 'xxx.xxx.com'
I tried creating a minimal Rails App under the same TorqueBox environment which simply sent out an email and this worked.
Now the only difference between the Rails App I created and Redmine with regards to outgoing emails I can spot is this:
Rails App I created
The SMTP settings are set directly in "config/environment.rb".
Redmine
The SMTP settings are read in from a YAML file in "config/configuration.yml".
I tried disabling the reading of the YAML file and set the SMTP configurations in "environment.rb" in Redmine, but this did not solve the problem.
Can anyone point out what may be causing this problem?
Thanks in advance,
Dan