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
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)
Built Distribution
Close
Hashes for emailSMS_python3-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93c0cb487f4b023700881e62848e19345ecf022bb79d5092833d5ef17cb9e5a3 |
|
MD5 | 390b6adab68f7ca876f881a38e4c2100 |
|
BLAKE2b-256 | 54b112a843fe2b8c065f2da4a6745e23b999e9d859a681c4c22e97ad8513fb11 |