in reply to Handling smtp errors gracefully using Mail::Sender

You could change "or die" to "or warn", and redirect STDERR to a file that you can look through later to see if anything bad happened.
  • Comment on Re: Handling smtp errors gracefully using Mail::Sender