Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created April 10, 2013 14:53
Show Gist options
  • Save seyDoggy/5355325 to your computer and use it in GitHub Desktop.
Save seyDoggy/5355325 to your computer and use it in GitHub Desktop.
sendmail script for sending html email.
#!/bin/bash
# send mail to seydesign forum and post to blog
(cat <<EOCAT
Subject: Testing the mail system
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
EOCAT
cat ~/Desktop/test-mail.html) | sendmail "[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment