rearrange sendmail.php and edited wordwrap