Skip to content

Instantly share code, notes, and snippets.

@lidio601
Created November 19, 2016 15:04
Show Gist options
  • Save lidio601/c5e47c291c4746fd1e9fcb928639fb2b to your computer and use it in GitHub Desktop.
Save lidio601/c5e47c291c4746fd1e9fcb928639fb2b to your computer and use it in GitHub Desktop.
How to send an image via email
# Setup
apt-get install -y sharutils
# How to
f=image0001.png
uuencode $f `basename $f` | mail -s "see the attachment" [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment