search for: deliver_test_email

Displaying 1 result from an estimated 1 matches for "deliver_test_email".

2011 Dec 12
1
Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production
...; false} class MyMailer < ActionMailer::Base def test_email @recipients = "myself-BUHhN+a2lJ4@public.gmane.org" @from = "noreply-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org" @subject = "this is a subject" @body = "this is the body" end end >> MyMailer::deliver_test_email is delivering fine this test email I used these smtp_settings, in a specific initializer file : config/initializers/mail.rb but then I get the Errno::ECONNREFUSED in production log, right after the email rendering ... how can I check what''s wrong ? the production log doesn...