These two python scripts will accept a mail message at STDIN and call or text via the Twillio service.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Theodotos Andreou 4ce0ba0449 Some typos il y a 5 ans
LICENSE Initial Commit il y a 5 ans
README.md Some typos il y a 5 ans
call_alerts.py Initial Commit il y a 5 ans
sms_alerts.py Initial Commit il y a 5 ans

README.md

Twillio Mail to SMS/CALL alerts

These two python scripts will accept a mail message at STDIN and call or text via the Twillio service

You need to adjust these values in the scripts:

  • account_sid
  • auth_token
  • to
  • from_

You can find the account_sid, auth_token and from_ values at https://twilio.com/user/account

You can copy the scripts under the /usr/local/sbin directory

Then add these lines in /etc/aliases:

alerts: "|/usr/local/sbin/sms\_alerts.py"
call: "|/usr/local/sbin/call\_alerts.py"

and run newaliases