Skip to main content

SMS gateway for sending text messages

Project description


How to install:

* Add 'smsgateway' to your INSTALLED_APPS
* Configure it:


# This is where your incoming messages will be handled by your web app.
SMSGATEWAY_HOOK = {'MV': 'mvne.activation.utils.incoming_sms',
'SIM': 'mvne.activation.utils.incoming_sms'}

# This is a list of accounts of SMS gateway providers.
'__default__': 'mobileweb', # This is your default account. You MUST specify this! It points to one of your accounts below this line.
'mobileweb': {'backend': 'mobileweb', 'username': 'johndoe', 'password': '12345678', 'sid': '413'}, # Example account
'smsextrapro': {'backend': 'smsextrapro', 'username': 'johndoe', 'password': '87654321'}, # Example account

# This is where you set up the backends in use. You can use your own too! Please look at the built-in backends for an example.

* Some backends support incoming text messages:


from smsgateway import backends

urlpatterns = ('',
(r'^incoming_sms/$', backends.get_backend('mobileweb').handle_incoming),

* Set up your SMS gateway to use this url for incoming messages.

Project details

Download files

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

Files for django-smsgateway, version 2.1.20
Filename, size File type Python version Upload date Hashes
Filename, size django_smsgateway-2.1.20-py2.py3-none-any.whl (99.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-smsgateway-2.1.20.tar.gz (62.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page