Changes

no edit summary
Line 79: Line 79:  
     <li><b>username</b> - SMS post/get configuration user name</li>
 
     <li><b>username</b> - SMS post/get configuration user name</li>
 
     <li><b>password</b> - SMS post/get configuration password</li>
 
     <li><b>password</b> - SMS post/get configuration password</li>
     <li><b>number</b> - SMS message index or (depending on context) recipient's phone number. SMS message indexes can be viewed with the <i>sms_list</i> command.<br>Phone number format is:
+
     <li><b>number</b> - SMS message index or (depending on context) recipient's phone number. SMS message indexes can be viewed with the <i>sms_list</i> command.<br>Correct phone number format is:
 
         <ul>
 
         <ul>
 
             <li><i>00</i> - number must be preceded by two zeros</li>
 
             <li><i>00</i> - number must be preceded by two zeros</li>
Line 85: Line 85:  
             <li><i><receivers_number></i> - phone number of the recipient</li>
 
             <li><i><receivers_number></i> - phone number of the recipient</li>
 
         </ul>
 
         </ul>
For example, a valid number would be <b>0037012345678</b> (370 is country code and 12345678 is the receiver's phone number)
+
For example, a valid number would be <b>0037012345678</b> (370 is country code and 12345678 is the receiver's phone number, all preceded by 00)
 
     </li>
 
     </li>
 
     <li><b>text</b> - SMS message text</li>
 
     <li><b>text</b> - SMS message text</li>
 
</ul>
 
</ul>
<!--
+
 
 
==Email to SMS==
 
==Email to SMS==
   −
Email to SMS is a function that checks your email’s inbox at the specified frequency and, if it finds any new received emails with a specific subject, it converts them to SMS messages.
+
<b>Email to SMS</b> is a function that connects to your email account and checks its inbox at the specified frequency. If it finds any new received emails with a specific subject (phone number in email subject), it sends the body of the email as an SMS message(s) to the recipient specified in the email subject field.
 
  −
'''NOTE''': all POP3 server email messages from inbox will be deleted.
      +
<b>Important note</b>: all POP3 server email messages from inbox will be deleted when using this service.
   −
[[Image: Services sms gateway emailtosms.PNG]]
+
[[File:{{{file_email_to_sms}}}]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
 
     <tr>
 
     <tr>
         <th>field name</th>
+
         <th>Field name</th>
       <th>value</th>
+
       <th>Value</th>
       <th>description</th>
+
       <th>Description</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Enable</td>
 
       <td>Enable</td>
       <td>yes | no; Default: '''no'''</td>
+
       <td>yes | no; Default: <b>no</b></td>
 
       <td>Toggles Email to SMS ON or OFF</td>
 
       <td>Toggles Email to SMS ON or OFF</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>POP3 server</td>
 
       <td>POP3 server</td>
       <td>host | ip; Default: " "</td>
+
       <td>host | ip; Default: <b>none</b></td>
       <td>Your email service provider's POP3 server address. If you don't know this address, simply look it up online</td>
+
       <td>Email service provider's POP3 server address (can be looked up online)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Server port</td>
 
     <td>Server port</td>
         <td>integer [0..65535]; Default: " "</td>
+
         <td>integer [0..65535]; Default: <b>none</b></td>
         <td>Server authentication port. As with POP3 server, your email service provider's POP3 port can be looked up online</td>
+
         <td>Email service provider's POP3 server port (can be looked up online)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>User name</td>
 
     <td>User name</td>
         <td>string; Default: " "</td>
+
         <td>string; Default: <b>none</b></td>
         <td>Your email account’s user name</td>
+
         <td>Email account user name. This is information is used by router in order to atuhenticate itself when connecting to the email client</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Password</td>
 
       <td>Password</td>
       <td>string; Default: " "</td>
+
       <td>string; Default: <b>none</b></td>
       <td>Your email account’s password</td>
+
       <td>Email account password. This is information is used by router in order to atuhenticate itself when connecting to the email client</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Secure connection (SSL)</td>
 
     <td>Secure connection (SSL)</td>
         <td>yes | no; Default: '''no'''</td>
+
         <td>yes | no; Default: <b>no</b></td>
         <td>'''SSL''' is a protocol for transmitting private documents via the Internet. SSL uses a cryptographic system that uses two keys to encrypt data − a public key known to everyone and a private or secret key known only to the recipient of the message</td>
+
         <td><b>SSL</b> is a protocol for transmitting private documents via the Internet. SSL uses a cryptographic system that uses two keys to encrypt data − a public key known to everyone and a private or secret key known only to the recipient of the message</td>
 +
    </tr>
 +
    <tr>
 +
    <td>Max. email symbol count/td>
 +
        <td>integer; Default: <b>160</b></td>
 +
        <td>Limit of symbols that can be contained in the email body of text. Emails that contain more symbols than it is specified in this field will not be sent as SMS messages</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Check email every</td>
 
     <td>Check email every</td>
         <td>time; Default: '''1 minute'''</td>
+
         <td>time [1 minute to 15 days]; Default: <b>1 minute</b></td>
         <td>Time interval to check email inbox</td>
+
         <td>Email inbox check interval</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
   −
You may have noticed that there is no option where you can specify recipient's phone number. The reason for that is that '''Email to SMS''' doesn't forward all emails, only the ones that are meant to be forwarded. Only emails with the recipient's phone number in the subject will be forwarded (to the number specified in the subject). Phone number must contain country code. Phone number format is: 00{COUNTRY_CODE} {RECEIVER_NUMBER}, e.g., 0037062312345 (370 is country code and 62312345 is receiver's phone number)
+
<b>Additional note</b>: you may have noticed that there is no option where you can specify the recipient's phone number. As mentioned earlier, <b>Email to SMS</b> doesn't forward all emails, only the ones that are meant to be forwarded. Only emails with the recipient's phone number in the subject will be forwarded to SMS
 +
 
 +
Correct phone number format is:
 +
<ul>
 +
    <li><i>00</i> - number must be preceded by two zeros</li>
 +
    <li><i><country_code></i> - the next following element is the number holder's country code</li>
 +
    <li><i><receivers_number></i> - phone number of the recipient</li>
 +
</ul>
    +
For example, a valid number would be <b>0037012345678</b> (370 is country code and 12345678 is the receiver's phone number, all preceded by 00)
 +
<!--
 
==Scheduled SMS==
 
==Scheduled SMS==
  

Navigation menu