title: How to catch error exception in ActionMailer
body: <p>The problem is how can I catch exception in delivering mail by ActionMailer. For me it sounds impossible, because in this case ActionMailer should sent mail to mailserver, and if mailserver returns error, ActionMailer should show me this error. I am interested only in counting undelivered mails.</p>
  
  <p>Do you have any ideas how to implement this?
  Thanks!</p>