twillio_alerts/README.md

24 行
546 B
Markdown
Raw パーマリンク 通常表示 履歴

2018-06-07 17:36:22 +03:00
# Twillio Mail to SMS/CALL alerts
2018-06-07 17:40:07 +03:00
These two python scripts will accept a mail message at STDIN and call or text via the Twillio service
2018-06-07 17:36:22 +03:00
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`