Last active
December 7, 2015 11:31
-
-
Save relthyg/bf1ced6a4b64d91e07cd to your computer and use it in GitHub Desktop.
mailx syntax with attachment
This file contains 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 | |
echo "MESSAGE BODY" | mailx -s "SUBJECT" -a "FILENAME" -r [email protected] [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment