The from is complicated by legal matters, which prevent us from using whatever from we like, which also prevents us from allowing you to set whatever from you would like.

As such, it cannot ever be set to a mobile number, but it can be set to a string (8 characters or less), but only if we receive a headed signed fax from the group wishing to use the new from address, giving us permission to use the name when we send an SMS.

This from ID is then associated with a particular account, and when a message is sent using that login, the message will use the new from string.

Sometimes it will be neccessary for your text messages to carry a newline to break up content. In order to do this you will need to send a url escaped carriage return character, followed by a url escaped line feed character.

Please find the particular url escaped string below:%0D%0A%0D is the carriage return.%0A is the line feed.

If you have any questions on this, please let us know, either by mail to smsapi@hostingireland.ie or on our forum or comment below.

A new feature has now been built into the SMS gateway, allowing you to specify a contact email address for the sms Gateway and a threshold amount of SMS credits for your account.

Currently this contact email address can be used with a lower threshold of SMS credits, and once the credits in your accounts goes below or matches the threshold the gateway will send a mail to the contact address, alerting that the credits are running low in your account. However, this will only be sent the first time you run low, and will not be sent again until your credits have been above threshold again.

This feature will ensure that your account will never run to 0. This feature is disabled for all existing accounts, so if you want this alert feature enabled, please email me your email address and threshold requirements to smsapi@hostingireland.ie and I will enable this feature for you.

As always, if you have any comments, feedback or suggestions, you can comment below, post on our forum or send an email to smsapi@hostingireland.ie.

After a suggestion from a user of our gateway, a change has been made to the security module on our gateway, that limits connections by user to a particular IP.

The request was to allow multiple IPs per user, so that several computers can connect to the same account, allowing good security, without lacking usability.

The security module was successfully modified, and now allows several IPs to be authentic for a single user account.

If you would like extra IPs to be added to your accounts security module, send us an email to smsapi@textmessage.ie with the request.

If you have any suggestions for modifications to the API or ways which it could be improved or altered to suit your needs, submit a suggestion in our forum, and if it is feasable we will get to work on it straight away.

Below is a form submitted by a user of the SMS API (the username and password have been removed from the form of course). But when I saw this form, I thought it would be quite a useful example, to demostrate how simple the API can be interacted with.

I hope this helps interested users see how quickly the API can be connected to, as always, if you have any questions or would like to send me any feedback, either comment below or submit a post on our Forum

Occasionally the gateway will respond with a response code that is not documented in our site’s Common API responses.

When this happens the response will be coming directly from the mobile network provider rather than generated from our own gateway, as such this is not something that can be documented.

However, these response codes almost always resolve to the phone number you are trying to send an SMS to, check you are using the correct number, and if it is international number, be sure to take a look at the article on International SMS numbers.

As always, if you have any questions please comment below, or register on our forum.

To send a text message via the Hosting Ireland SMS API to an international number, the number needs to be formatted in such a way that the gateway knows how to route the message.

If the number was being sent to a UK number (country code +44), and the number itself was 07832165422 then the international number would be formatted as:
447832165422

This same format should work throughout all the mobile networks, but if any mobile networks report a problem with the number, then you can try the following formats as well:
00447832165422,
+447832165422

If you have any questions, or would like to contact me regarding this or any other articles here, please reply below, or post in the forum or email us at smsapi@hostingireland.ie.

When a request to send an SMS is received by our gateway, it is processed by HTTP and some characters can commonly cause errors, which may lead to unpredictable results from your request.

To correct this issue, you should urlencode the message you want to send, so that the HTTP does not interfere with the message, this involves re-writing the message with characters such as & (ampersand) and # (hash) replaced with %23, %26 and so on. If your SMS program is written using PHP, there is a prebuilt function for performing this, which you can see here:http://ie2.php.net/urlencode

It is important however, that you initially change spaces to ‘+’ before url encoding the message.

As usual, if you have any questions regarding this technology, or anything related to the Hosting Ireland SMS Gateway API, either comment below, or in our forum or email smsapi@hostingireland.ie.

It is possible to send a text message through the hosting ireland SMS gateway, which is more than one text long, the gateway will automatically split the message into multiple texts and send them seperately to the receiver, where they will be restructured into a single long text message on the receivers phone.

The gateway will automatically charge for the extra messages used as well, so there is no need to worry about using over your quota of messages.

The longest message the gateway can handle is 4 seperate messages, or 640 characters.

If you have any questions, please either comment on this post, or post on our forum, and we will reply as quickly as we can.

The usual error messages, documented here apply, as well as a new XML response code, the response code is 101, which implies a succesful credit query, and will also have a log entry ID. an example reply is found below:

This response code can now be used to check for sufficient credits before attempting to send a bulk of SMS messages, this will help prevent issues with your local sending code, and also reduce the load on the SMS API server.

As usual, you can send any feedback on this to smsapi@hostingireland.ie or send a post in our forum.