james-atkinson / speedcomplainer

A python app that will test your internet connection and then complain to your service provider (and log to a data store if you'd like)
509 stars 106 forks source link

Possible to substitute tweet for email? #27

Open kaon1 opened 7 years ago

kaon1 commented 7 years ago

Is it possible to remove the tweet function and put in an email-to function?

edit:

I put in a quick hack by commenting out the "api section" in def tweetResults and adding:

server = smtplib.SMTP('127.0.0.1',25) status = server.sendmail("xxx","xxx",message)

Also need to "import smtplib"

And make sure postfix is running on the local box and can send out email.

ColeTownsend commented 6 years ago

Why not open a pr @noak1

jdbohrman commented 6 years ago

This would be awesome. Especially if you used something like Hunter.io to get senior Executives at Comcast's email.