Fixed the sendmail script.