Skip to content

Instantly share code, notes, and snippets.

@renderedSafe
renderedSafe / smspython.py
Created June 18, 2018 23:21 — forked from alexle/smspython.py
Simple Python script to send SMS! Can send image attachments as well.
# smspython.py
# Sends sms message to any cell phone using gmail smtp gateway
# Written by Alex Le (http://alexanderle.com)
import smtplib, base64, sys, re
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage