=== SMSTunnel Notifications for Gravity Forms ===
Contributors: narcisbodea, nicunarcisbodea
Tags: sms, gravity forms, notifications, smstunnel, text messages
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Send SMS notifications via SMSTunnel when Gravity Forms are submitted.

== Description ==

SMSTunnel Notifications for Gravity Forms allows you to send SMS notifications when forms are submitted. This plugin adds an SMS tab to Gravity Forms settings where you can configure notification messages.

This is a third-party integration built by SMSTunnel.io. It is not affiliated with, endorsed by, or sponsored by Gravity Forms or Rocketgenius, Inc.

**Features:**

* Send SMS notifications to administrators when forms are submitted
* Send autoresponder SMS to form submitters
* Support for multiple recipients (comma-separated)
* Full merge tag support for dynamic message content
* Easy configuration through Gravity Forms settings interface

**Requirements:**

* WordPress 5.0 or higher
* PHP 7.4 or higher
* Gravity Forms plugin
* SMSTunnel plugin (for sending SMS)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/smstunnel-notifications-for-gravity-forms` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Make sure Gravity Forms and SMSTunnel plugins are installed and activated.
4. Go to any form's settings and click on the SMS tab to configure notifications.

== Frequently Asked Questions ==

= Do I need the SMSTunnel plugin? =

Yes, this add-on requires the SMSTunnel plugin to send SMS messages. You can download it from smstunnel.io.

= Can I send SMS to multiple recipients? =

Yes, you can enter multiple phone numbers separated by commas in the recipient field.

= Can I use form field values in SMS messages? =

Yes, you can use Gravity Forms merge tags like {Name:1} or {Email:2} in your message body.

== External Services ==

This plugin relies on the SMSTunnel service to deliver SMS notifications. When a form is submitted, the recipient phone number and the message content are transmitted to the SMSTunnel API, which forwards them to your own paired Android device for delivery.

This service is provided by SMSTunnel.io (NARBOWEB SRL):

* **Service**: SMSTunnel.io (NARBOWEB SRL)
* **Service URL**: https://smstunnel.io
* **When data is sent**: Only when a form is submitted and you have enabled SMS notifications for that form.
* **Data sent**: The recipient phone number, the SMS message content, and any form field values you include in the SMS template.
* **Privacy Policy**: https://smstunnel.io/privacy
* **Terms of Service**: https://smstunnel.io/terms

This plugin is a third-party integration and is not affiliated with, endorsed by, or sponsored by Gravity Forms or Rocketgenius, Inc. "Gravity Forms" is a trademark of Rocketgenius, Inc.

== Changelog ==

= 1.0.1 =
* Security: Validate recipient phone numbers (E.164) and reject premium-rate numbers before sending, to prevent SMS abuse via public form fields

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release of SMSTunnel Notifications for Gravity Forms.
