* fix a bug: if error when sending mail, display.