Wrapper round sendmail; probably for use with PHP