hmail is a simple command line program to send email to an SMTP smarthost. It is intended mainly for use with other programs, such as PHP, that want something with an interface like sendmail on Unix.