Forum: Ruby on Rails ActionMailer testing errors rescue... Net::

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2007-06-27 01:24
I am testing various mails sent by my app   (on localhost with Postfix
- OS X of course...)
no proble when postfix is running..

but if Postfix is not running I don't have any raised error...
I tried using the NET lib...

rescue Net::SMTPFatalError,  Net::SMTPServerBusy, Net::SMTPUnknownError,
Net::SMTPSyntaxError, TimeoutError

no matter cannot get an error...

any info or link will be welcome..  (especially on net lib..)


This topic is locked and can not be replied to.