updated sendmail test