emailsms
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/
Metadata
Release files for emailsms 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emailsms-0.2.tar.gz | 4.2 kB | Without provenance | Details for emailsms-0.2.tar.gz |
Release files / emailsms-0.2.tar.gz
| Download URL | emailsms-0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
daa5f564728a840470a2f655ed0686fc05112f4ecf5f57ed54cf4593968019b0
|
|
BLAKE2b-256 checksum How to use checksums |
cb1950a8b85010f2077830f69ae65f6b4b712b014a8d85f9c63125b65c4ef293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for emailsms 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.