exception will send mail