ActionMailer testing errors rescue... Net::

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…)

thanks

kad

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs