Peter Swanson

Software Engineer

Full Stack Web Developer


Sending Text Messages from the Server


The watch has no built-in text messaging server, so I built this server to send messages to phones using the SMTP email protocol. The server sends the message from a Gmail address in config.ini.


In the code below, messages from the client are received as POST requests where they are parsed and sent as text messages. See the demo!


views.py


models.py