testing code.  mail needs checking, crashes on send mail.  suspect formatting.