nail is not for building houses, but for sending emails from the command line in linux. If you have a script that needs to send emails, nail is the mail. Problem is it uses the .mailrc file even if you have a .nailrc file sitting in your home dir
Oh darn
So i moved .nailrc to .mailrc and my magic script magically starts sending to my pager via my gmail account. You need this in your .mailrc file:
set folder=pop3s://mailaccount@gmail.com
set smtp-use-starttls
set smtp-auth=login
set smtp=smtp.gmail.com:587
set smtp-auth-user=yourusername@gmail.com
set smtp-auth-password=yourpassword
set from="fromaddress@gmail.com"
Monday, April 14, 2008
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment