How to join SMS FOX BOX to you server environment

The integration could be performed in several ways:

  1. Use Email to SMS gateway function
  2. "POST" data to an URL
  3. Write directly on OUTGOING queue

Case 1: Use Email to SMS gateway function

The Email to SMS gateway feature require only 4 configuration parameters. On the left menu click on configuration and take a look to the last section on bottom.

For example we configure the email retrieval of This e-mail address is being protected from spam bots, you need JavaScript enabled to view it In the first field you have to put the server that host the email account designed for SMS operations. (example. In the second filed you can specify wich protocol to use for mail retrieval between POP3 and IMAP. (Default is POP3) In the third field you have to type the login name for accessing the email account. (example. gsm) In the fourth field you have to put the password for access the mailbox.

Click on save to apply changes and proceed enabling the gateway engine on the control panel screen.

Now that the gateway engine is started, if you send a message to This e-mail address is being protected from spam bots, you need JavaScript enabled to view it , using the following Synatx: Subject: TOsms From: To: 39349000111222 Text of your SM message
The e-mail messages will be automatically diverted to the phone number 39349000111222. A screencast that demostrate this functionality is available here.


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&from=Davide&nphone=393483512789&testo=SMS%20%text

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/.