SMSTunnel sends texts from your Drupal site through your own Android phone, from your own number. Your site hands each text to your SMSTunnel account and your phone sends it from its own SIM, so people see a number they know and can reply. You can cut the site off at any time by deleting its key in your dashboard.
Features
Four modules you turn on as needed:
- SMSTunnel — settings page, API key, a test text and a status report.
- SMSTunnel for Webform — a "Text on submission" handler: text yourself about new submissions, or text a confirmation to the person who filled in the form.
- SMSTunnel for ECA — a "Send a text with SMSTunnel" action for any ECA event: new content, new users, cron, form submissions, Drupal Commerce orders.
- SMSTunnel for SMS Framework — SMSTunnel as an SMS Framework provider, so everything built on it (including user phone-number verification) sends through your own phone.
One recipient per text; sign-in codes use SMSTunnel's separate code allowance. If your phone is offline, the text waits and goes out when it is back online.
Post-Installation
Install the free SMSTunnel app from Google Play on an Android phone and sign in, then create an API key in your SMSTunnel dashboard (Apps → Add an app). In Drupal, go to Configuration → Web services → SMSTunnel (/admin/config/services/smstunnel), add the key (with the Key module, in settings.php, or pasted — it is kept out of configuration exports), and send a test text. Then turn on the Webform, ECA or SMS Framework sub-module you need.
Additional Requirements
Drupal 10.3 or newer, or Drupal 11; PHP 8.1 or newer. An Android phone with the SMSTunnel app and an SMSTunnel account. The module talks only to https://smstunnel.io.
Recommended modules/libraries
Key keeps the API key outside the database. Add the integration you use: Webform, ECA or SMS Framework.
Drupal is a registered trademark of Dries Buytaert. SMSTunnel is not affiliated with, endorsed by, or sponsored by Dries Buytaert, the Drupal Association, or the maintainers of Webform, ECA, SMS Framework or Key.