Skip to main content

Gateway between email and SMS/MMS for python3

Project description

EmailSMS_Python

Gateway between email and SMS/MMS for Python3. Allows for two way communication between a server and mobile device.

Installation

Install requirements with pip

pip install emailSMS-python3

Usage

from emailSMS.emailSMS import Manager

# Initialize Manager Object
manager = Manager(phone_num='XXXXXXXXXX', carrier="XXXX",
                          email_address="EMAIL",
                          email_password="PASSWORD")
# Available Carriers
["AT&T", "Verizon", "Sprint", "TMobile", "Boost", "Cricket", "Virgin Mobile", "US Cellular"]

# Sends an SMS to the configured phone with a subject line "Hello, World!"
manager.send_sms("Hello, World!")

# Sends an MMS to the configured phone with a subject line "Hello, World!"
manager.send_mms("Hello, World!")

#Returns an array of new (unread) messages from the configured phone.
manager.check_incoming()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Source Distribution

emailSMS-python3-0.0.7.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

emailSMS_python3-0.0.7-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page