These two python scripts will accept a mail message at STDIN and call or text via the Twillio service.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Theodotos Andreou 4ce0ba0449 Some typos hace 5 años
LICENSE Initial Commit hace 5 años
README.md Some typos hace 5 años
call_alerts.py Initial Commit hace 5 años
sms_alerts.py Initial Commit hace 5 años

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