Created
April 6, 2016 19:40
-
-
Save bkozora/1625fd2be5f2a28824cab407232910f3 to your computer and use it in GitHub Desktop.
Email File as Attachment from Command Line
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
( cat file.txt; ux2dos file.txt | uuencode file.txt file.txt ) | mailx -m -s "subject" -r email@address email@address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment