sendMail Class :: Error treatment