Correct usage of sendmail