Created
April 10, 2013 14:53
-
-
Save seyDoggy/5355325 to your computer and use it in GitHub Desktop.
sendmail script for sending html email.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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