So, if sending email works, why do you show us only the working part of your code? I would think it is far more likely that the error is in some other part instead of the part of the code which you know works.
So, consider going back to reducing your program to a small, self-contained sample that fails to work.
In reply to Re^4: CGI::App catch and email database errors
by Corion
in thread CGI::App catch and email database errors
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |