letmeknow

Email and SMS notifier


License
MIT
Install
pip install letmeknow==0.2

Documentation

letmeknow

Intended to guide through the setup mailutils in linux based machines(or VMs) to allow sending of emails and SMS texts

I should eventually turn this code into a package...

This came about after following the steps described on the following link: http://rianjs.net/2013/08/send-email-from-linux-server-using-gmail-and-ubuntu-two-factor-authentication

Here are the steps described in the link

Steps to install mailutils

sudo apt-get install mailutils

Note:When the setup wizard launches, choose the unconfigured option. You don’t need to do any special configuration to get this to work.

sudo apt-get install ssmtp

open with your text editor the following: /etc/ssmtp/ssmtp.conf

Uncomment FromLineOverride=YES by deleting the #

Add the following to the file: AuthUser=@gmail.com AuthPass=Your-Gmail-Password mailhub=smtp.gmail.com:587 UseSTARTTLS=YES

Test it out: echo "This is a test" | mail -s "Test" @.com