Skip to content

Instantly share code, notes, and snippets.

@coffeeworks
Created November 27, 2009 22:10
Show Gist options
  • Save coffeeworks/244256 to your computer and use it in GitHub Desktop.
Save coffeeworks/244256 to your computer and use it in GitHub Desktop.
send html email with sendmail
(cat <<EOCAT
Subject: HTML Email
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
EOCAT
cat txt_file) | sendmail user@email.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment