Email configuration problems

Added by Jaime Rodrigo almost 10 years ago

Hi ppl,

We are having a hard time getting email notifications to work. We do get the processing confirmations on the production.log but we get nothing on the mail.
Could you give us a hand with some advice on where to continue looking for the error?

Thanks in advance!
Jaime

PS: We are running version 0.6.3

Processing AdminController#test_email (for 127.0.0.1 at 2008-03-11 19:16:42) [GET]
Session ID: 3ec61345c4976d22f65032f2d3071ac0
Parameters: {"action"=>"test_email", "controller"=>"admin"}
Redirected to http://mimpla4vm01:8080/admin/mail_options
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 302 Found [http://mimpla4vm01/admin/test_email]

Replies (2)

RE: Email configuration problems - Added by Jean-Philippe Lang almost 10 years ago

What message is displayed by the app when you click 'send a test email' ?

To get more information, edit config/environments/production.rb:
  • set config.action_mailer.raise_delivery_errors to true
  • comment this line: config.action_mailer.logger = nil

Then restart the app and try to send a test email.
You should see an email dump in the log or an error if the email couldn't be sent.

RE: Email configuration problems - Added by clawfrown clawfrown over 9 years ago

I have similar problem and similar log..

The app hangs for a minute and then says:

An existing connection was forcibly closed by the remote host

If I set "raise_delivery_errors to true" and "comment config.action_mailer.logger = nil" no errors are appeared in production log.. should they?

(1-2/2)