These two python scripts will accept a mail message at STDIN and call or text via the Twillio service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 546B

5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223
  1. # Twillio Mail to SMS/CALL alerts
  2. These two python scripts will accept a mail message at STDIN and call or text via the Twillio service
  3. You need to adjust these values in the scripts:
  4. * account\_sid
  5. * auth\_token
  6. * to
  7. * from\_
  8. You can find the account\_sid, auth\_token and from\_ values at https://twilio.com/user/account
  9. You can copy the scripts under the */usr/local/sbin* directory
  10. Then add these lines in */etc/aliases*:
  11. ```
  12. alerts: "|/usr/local/sbin/sms\_alerts.py"
  13. call: "|/usr/local/sbin/call\_alerts.py"
  14. ```
  15. and run `newaliases`