initial telegram sending test

This commit is contained in:
Joe Tretter
2020-11-09 15:38:10 -06:00
parent 80842aae98
commit c52603ff21
6 changed files with 63 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
import smtplib
# testing:
# start dummy web server for dev with root: python3 -m smtpd -c DebuggingServer -n localhost:25
port = 25
server=smtplib.SMTP("localhost", port)
sender_email = "deadswitch@kawomi.com"