This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Send text messages using email SMS gateways.

Project Description

Module for sending SMS via email SMS gateways. Requires an email account to send from, and for the phone service provider of the recipient to be known.

Email SMS gateways are unreliable at best. This is not a suitable method for sending texts for any production use. This is, however, a free and easy way to prototype SMS-based services.

Usage

>>> yahoo_smtp_server = "smtp.mail.yahoo.com"
>>> import emailsms
>>> import smtplib
>>> from_address = 'foo@gmail.com
>>> smtp = smtplib.SMTP(yahoo_smtp_server, 587)
>>> smtp.starttls()
>>> smtp.login(username, password)
>>> smtp = emailsms.gmail_smtp(from_address, 'password')
>>> emailsms.send(smtp, from_address, '0000000000', "Hi it's me", 'Verizon')
>>> print emailsms.carriers

Contributing

Pull requests welcome! https://bitbucket.org/socos_me/emailsms

About Socos

Socos LLC is the only organization currently taking naturalistic student experiences as the basis for assessments. The solution to improving education and the learning gap is to close the educational loop, and provide relevant feedback to educators and parents on what they can do in naturalistic setting to improve life-outcomes.

Learn more at http://www.socoslearning.com/

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
emailsms-0.2.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Jun 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting