Advertisement
Guest User

Untitled

a guest
Jan 27th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. sudo apt-get install ssmtp
  2.  
  3. sudo -e /etc/ssmtp/ssmtp.conf
  4.  
  5. Root=your_email@gmail.com
  6. Mailhub=smtp.gmail.com:465
  7. RewriteDomain=gmail.com
  8. AuthUser=your_gmail_username # me@gmail.com
  9. AuthPass=your_gmail_password
  10. FromLineOverride=Yes
  11. UseTLS=Yes
  12.  
  13. sudo apt-get install heirloom-mailx
  14.  
  15. mail < filename.ascii someone@somewhere.com -s "My File"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement