Fixed sendmail Bug