Skip to content

Instantly share code, notes, and snippets.

@benjaesq
Last active August 29, 2015 14:23
Show Gist options
  • Save benjaesq/a59f2f23c85ac28a56f9 to your computer and use it in GitHub Desktop.
Save benjaesq/a59f2f23c85ac28a56f9 to your computer and use it in GitHub Desktop.

Revisions

  1. Benjamin Esquivel revised this gist Jun 26, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion alias-cmailx.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    alias cmailx='mailx -b $EMAIL_ADDRESS -r $EMAIL_ADDRESS -S smtp=$SMTP_SERVER'
    # 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'
  2. benjaesq created this gist Jun 26, 2015.
    1 change: 1 addition & 0 deletions alias-cmailx.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alias cmailx='mailx -b $EMAIL_ADDRESS -r $EMAIL_ADDRESS -S smtp=$SMTP_SERVER'