How to join SMS to your server environment
There are no translations available
The integration could be performed in several ways:
- Use Email to SMS gateway function
- "POST" data to an URL
- Write directly on OUTGOING queue
- POST DATA WITH METHOD WITH PHP
Case 1: Use Email to SMS gateway function The Email to SMS gateway feature requires only four configuration parameters. You reach them from the web browser interface of the FoxBox, clicking on the left menu the "System profile" entry. Here there are three sections, and we are interested in the last one, titled "Incoming mails configuration for message forward MAIL to SMS".
As an example, we will configure the email retrieval of
After these assignments, click on "Save configuration" to apply changes and proceed enabling the Gateway Engine on the "Control Panel" entry of the menu.
Now that the gateway engine is started, if you send a message to
using the following Synatx:
Text of your SM message
The e-mail messages will be automatically diverted to the phone number 39349000111222.
Case 2: "POST" data to an URL Another simple way to integrate the SMS FoxBox in your ICT structure is the capability of sending SMS launching a simple URL.
All you have to do is launch an URL according to URL enconding format, passing the following informations as arguments:
username: The user registered inside you SMS FoxBox
pwd: the password of the username specified
from: A identification for the message sender (the default is the username)
nphone: The phone number
testo: The text of your SM message
An example will be as follow:
http://URL TO YOUR SMS FoxBox/source/send_sms.php?username=Admin&pwd=password&
SMS FoxBox will process your request and send the message as you specified.
Case 3: Write directly on OUTGOING queue There are several ways to access the outgoing message queue. SMS FoxBox is equipped with both FTP and SSH servers. To access outgoing queue you can simply upload using FTP or copy using SCP a file according to SMS file format in the path /mnt/flash/spool/outgoing/.