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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file emailSMS-python3-0.0.7.tar.gz.

File metadata

  • Download URL: emailSMS-python3-0.0.7.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for emailSMS-python3-0.0.7.tar.gz
Algorithm Hash digest
SHA256 7bd4756ea81fa8f859eba358d8857135d8ee95348cdb8f5bb2342b27223d0bef
MD5 56f3c33de6d35d471bb41df8482d7993
BLAKE2b-256 a63f317269f59ecba353c23d9c7458461f66bafccdc158ad7b3a36630ac15bc3

See more details on using hashes here.

File details

Details for the file emailSMS_python3-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: emailSMS_python3-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for emailSMS_python3-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 93c0cb487f4b023700881e62848e19345ecf022bb79d5092833d5ef17cb9e5a3
MD5 390b6adab68f7ca876f881a38e4c2100
BLAKE2b-256 54b112a843fe2b8c065f2da4a6745e23b999e9d859a681c4c22e97ad8513fb11

See more details on using hashes here.

Supported by

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