Last active
August 29, 2015 14:23
-
-
Save benjaesq/a59f2f23c85ac28a56f9 to your computer and use it in GitHub Desktop.
alias compose mailx
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
| # Usage: mailx <to-address> | |
| # Will prompt for Subject | |
| # Then compose the message and Ctr-D to send | |
| # Requires previous setting of EMAIL_ADDRESS AND SMTP_SERVER | |
| alias cmailx='mailx -b $EMAIL_ADDRESS -r $EMAIL_ADDRESS -S smtp=$SMTP_SERVER' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment