Remove debug crap. Surround sendMail with try/catch.