<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Text Marketer - Email SMS, Bulk SMS Gateway, SMS Marketing Blog &#187; gateway</title>
	<atom:link href="http://www.textmarketer.co.uk/blog/tag/gateway/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.textmarketer.co.uk/blog</link>
	<description>SMS Gateway</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SMS Reminder Alerts Reduce &#8216;no shows&#8217; by 70%</title>
		<link>http://www.textmarketer.co.uk/blog/2011/03/bulk-sms/sms-reminder-alerts-reduce-no-shows-by-70/</link>
		<comments>http://www.textmarketer.co.uk/blog/2011/03/bulk-sms/sms-reminder-alerts-reduce-no-shows-by-70/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 14:24:33 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Bulk SMS]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Distributed SMS Articles]]></category>
		<category><![CDATA[SMS Marketing Ideas & Advice]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[reminders]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.textmarketer.co.uk/blog/?p=2284</guid>
		<description><![CDATA[No-shows can be incredibly costly for businesses and organisations who make appointments with their customers. Hair salons, restaurants, doctors, dentists and many others are literally losing thousands of pounds per year because of people not turning up for their appointments. But, this can be avoided with a simple text message &#8230; <a href="http://www.textmarketer.co.uk/blog/2011/03/bulk-sms/sms-reminder-alerts-reduce-no-shows-by-70/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>No-shows can be incredibly costly for businesses and organisations who make appointments with their customers. Hair salons, restaurants, doctors, dentists and many others are literally losing thousands of pounds per year because of people not turning up for their appointments.</strong></p>
<p>But, this can be avoided with a simple text message reminder the day before.</p>
<p>A recent real-world case study posted at Mobile Marketing Magazine illustrates the point beautifully;</p>
<p style="padding-left: 30px;"><em>&#8220;Global Hair Limited, in Peacehaven, near Brighton, has 4,700 clients. The company was experiencing issues with client missing appointments, creating an increasing amount of spare time for the salons stylists and costing the business lots of money in missed revenue.</em> <em>To address the problem, the salon deployed a text messaging solution with dramatic results, as Global Hair Director Emma Fulgoney explains.</em></p>
<p><em> </em></p>
<p style="padding-left: 30px;"><em>She says:</em><br />
<em> &#8220;SMS reminders have improved our amount of no-show clients who may have forgotten the date and time of their appointment, therefore leaving a stylist in the salon with sometimes up to two and a half hours of down time, which is clearly bad for business and profits. We calculate that our number of no-shows has been reduced by approximately 70% since we&#8217;ve been using TextMagic and we expect this number to improve further as we obtain more clients&#8217; mobile numbers.&#8221;</em></p>
<h3>GET YOUR FREE SMS ALERTS SOFTWARE TRIAL</h3>
<p>Using Text Marketer&#8217;s &#8216;<em>designed for users, not technicians</em>&#8216; <a href="http://www.textmarketer.co.uk/bulksms/sms-bulk.htm">online SMS software</a> (a free trial account with 10 free credits is available), it can take as little as 20 seconds to copy and paste a list of numbers, write a quick reminder message and hit the send button. Texting reminders <a href="http://www.textmarketer.co.uk/bulk-sms-prices.htm">costs around 3p per message</a>.</p>
<p>In addition to this, using <a href="http://www.textmarketer.co.uk/txtUs.htm">Text Marketer&#8217;s revolutionary txtUs product</a> means you can also receive instant replies to the messages you send (to confirm yes to the appointment or no and re-book for example) and receive all the responses in your email inbox &amp; reply via email too.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=2284&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2011/03/bulk-sms/sms-reminder-alerts-reduce-no-shows-by-70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating Goldmine with our SMS Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2011/03/sms-gateway/integrating-goldmine-with-our-sms-gateway/</link>
		<comments>http://www.textmarketer.co.uk/blog/2011/03/sms-gateway/integrating-goldmine-with-our-sms-gateway/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 16:09:29 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[goldmine]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.textmarketer.co.uk/blog/?p=2276</guid>
		<description><![CDATA[How to integrate Goldmine software with our SMS Gateway The 2 easiest methods of integrating Goldmine with our SMS Gateway are using; 1) The email to SMS gateway &#8211; http://www.textmarketer.co.uk/email-to-sms-gateway/email-sms.htm Or 2) The HTTP gateway &#8211; http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/ &#160; &#160;]]></description>
			<content:encoded><![CDATA[<h2>How to integrate Goldmine software with our SMS Gateway</h2>
<p>The 2 easiest methods of integrating Goldmine with our SMS Gateway are using;</p>
<p>1) The email to SMS gateway &#8211; <a href="http://www.textmarketer.co.uk/email-to-sms-gateway/email-sms.htm">http://www.textmarketer.co.uk/email-to-sms-gateway/email-sms.htm</a><br />
Or<br />
2) The HTTP gateway &#8211; <a href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=2276&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2011/03/sms-gateway/integrating-goldmine-with-our-sms-gateway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS Gateway for Bond Adapt Recruitment Software</title>
		<link>http://www.textmarketer.co.uk/blog/2011/02/bulk-sms/sms-gateway-for-bond-adapt-recruitment-software/</link>
		<comments>http://www.textmarketer.co.uk/blog/2011/02/bulk-sms/sms-gateway-for-bond-adapt-recruitment-software/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 08:10:04 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Bulk SMS]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Distributed SMS Articles]]></category>
		<category><![CDATA[adapt]]></category>
		<category><![CDATA[bond]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[recruitment]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.textmarketer.co.uk/blog/?p=2201</guid>
		<description><![CDATA[New plugin launched by Text Marketer to integrate Bond Adapt software into our SMS Gateway. Text Marketer have specialised in providing our lowest costs SMS Gateway to the recruitment sector for over a decade. Now, we are pleased to announce that we have developed a plugin for the industry-leading Bond &#8230; <a href="http://www.textmarketer.co.uk/blog/2011/02/bulk-sms/sms-gateway-for-bond-adapt-recruitment-software/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>New plugin launched by Text Marketer to integrate Bond Adapt software into our <a href="http://www.textmarketer.co.uk/sms-gateway.htm">SMS Gateway</a>.</h2>
<p>Text Marketer have specialised in providing our lowest costs <a href="http://www.textmarketer.co.uk/sms_text_messaging_recruitment_agencies.htm">SMS Gateway to the recruitment sector</a> for over a decade. Now, we are pleased to announce that we have developed a plugin for the industry-leading Bond Adapt software, allowing any Bond users to effortlessly change to our SMS Gateway and save up to 50% on their Bulk SMS costs.</p>
<p>There is no change in functionality using our <strong><a href="http://www.textmarketer.co.uk/sms-gateway.htm">SMS Gateway</a></strong>, just lower cost.</p>
<p>Our gateway also supports all other recruitment software packages so all recruitment consultants and agencies can benefit from our <a href="http://www.textmarketer.co.uk/bulk-sms-prices.htm">lowest cost SMS Gateway</a>.</p>
<p>You can get going immediately by simply <a href="http://www.textmarketer.co.uk/signUpGoogle/">opening a free account</a> and contacting us for integration options.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=2201&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2011/02/bulk-sms/sms-gateway-for-bond-adapt-recruitment-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Examples of how to use our Email to SMS Text Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2010/07/bulk-sms/examples-of-how-to-use-our-email-to-sms-text-gateway/</link>
		<comments>http://www.textmarketer.co.uk/blog/2010/07/bulk-sms/examples-of-how-to-use-our-email-to-sms-text-gateway/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 09:37:58 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Bulk SMS]]></category>
		<category><![CDATA[Distributed SMS Articles]]></category>
		<category><![CDATA[Email to SMS]]></category>
		<category><![CDATA[SMS Marketing Ideas & Advice]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[uk]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=1677</guid>
		<description><![CDATA[Ever thought about how to use Email to Text? Businesses up and down the land send millions of notifications per day by email and as we all know a huge percentage are never getting to the inbox, let alone being read! The Mobile Marketing Association recently released data on the &#8230; <a href="http://www.textmarketer.co.uk/blog/2010/07/bulk-sms/examples-of-how-to-use-our-email-to-sms-text-gateway/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever thought about how to use <strong>Email to Text</strong>? Businesses up and down the land send millions of notifications per day by email and as we all know a huge percentage are never getting to the inbox, let alone being read!</p>
<p><img class="alignright size-full wp-image-1679" title="email_to_sms_text" src="http://www.textmarketer.co.uk/blog/wp-content/uploads/2010/07/email_to_sms.jpg" alt="email_to_sms_text" width="194" height="228" />The Mobile Marketing Association recently released data on the &#8216;read rates&#8217; of SMS, <strong>97% of text messages are opened, 83% in one hour but typically within 4 minutes</strong>.</p>
<p>So, if you want your customers to get your messages &#8211; texting is the way to go.</p>
<p>Using our <a href="http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/">Email to SMS Text Message Gateway</a> you can simply reformat your alert emails from your system/s so that they go out by text message.</p>
<p>Here&#8217;s some great examples of using <strong>Email to SMS</strong>:</p>
<p>1. <span style="color: #ff0000;">Ecommerce order confirmations </span>- sending a text doubles confidence rates in the order process.<br />
2. <span style="color: #ff0000;">Despatch confirmations</span> &#8211; when a package is sent, send a confirmation text with tracking info. This can reduce &#8216;where&#8217;s my order&#8217; calls by 50% or more.<br />
3. <span style="color: #ff0000;">Email merge</span> &#8211; send personalised text messages in bulk using simple email merge tools freely available (<a href="http://www.easyfreeware.com/personalized_mass_mailer__pro_-16019-freeware.html">such as this one</a>).<br />
4. <span style="color: #ff0000;">Staff alerts</span> &#8211; if the alert is urgent to your staff or colleagues, send it by text, it&#8217;ll be there immediately, wherever they are.<br />
5. <span style="color: #ff0000;">Systems alerts</span> &#8211; many different online systems have email alerts when there are problems. Great if you&#8217;re sat at your computer but if you&#8217;re not, also configure systems to send an Email to SMS alert for backup.<br />
6. <span style="color: #ff0000;">Customer/patient appointment reminders</span> &#8211; many companies, health services, gyms etc. send appointment reminders by email and many just don&#8217;t get read and the appointment is missed. Using our Email to Text service ensures your reminder is read, hugely increasing the chance the appointment will be kept.</p>
<p>There are of course many other examples of how you could employ Email to Text within your business.</p>
<p>You can try it out all automatically online. First <a href="http://www.textmarketer.co.uk/signUpGoogle/">set up a free Text Marketer account</a> (includes 10 free text credits) then read the <a href="http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/">Email to SMS</a> instructions and send your first text out through the gateway. &#8216;Simples&#8217;.</p>
<h3>More information on pricing, etc?</h3>
<p>If you have any general questions about pricing, setup, payment or almost anything else, try the <a href="http://www.textmarketer.co.uk/help/">Text Marketer Help Centre</a>.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=1677&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2010/07/bulk-sms/examples-of-how-to-use-our-email-to-sms-text-gateway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email-to-SMS Gateway service from Text Marketer</title>
		<link>http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/</link>
		<comments>http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:37:21 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[All Bulk SMS Account Documentation]]></category>
		<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[Email to SMS]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hotmail]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=1636</guid>
		<description><![CDATA[Please note that this blog page has been superseded with http://www.textmarketer.co.uk/developers/sms-email-gateway.htm  Our email-to-SMS service provides a simple way for you to send text messages via email. This is in addition to our simple HTTP SMS Gateway API, explained here, and we also provide a more complex RESTful SMS API to send SMS messages and &#8230; <a href="http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Please note that this blog page has been superseded with<a href="http://www.textmarketer.co.uk/developers/sms-email-gateway.htm"> http://www.textmarketer.co.uk/developers/sms-email-gateway.htm </a></p>
<p>Our email-to-SMS service provides a simple way for you to send text messages via email.</p>
<p>This is in addition to our simple HTTP <a title="SMS Gateway API" href="/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">SMS Gateway API</a>, explained <a title="SMS Gateway API" href="/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">here</a>, and we also provide a more complex <a title="RESTful SMS API" href="/blog/2010/03/sms-gateway/restful-web-services-sms-api-overview/">RESTful SMS API</a> to send SMS messages and give you access to information about your <a title="Get an SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/" target="_self">SMS marketing account</a> (dont have one? You need to have an <a title="Free SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/">account</a>).</p>
<p><strong>There are 3 main ways to use the email to sms gateway;</strong></p>
<p>Option 1 &#8211; To send single emails/messages using domain authentication<br />
Option 2 &#8211; To send single emails/messages using username/password authentication<br />
Option 3 &#8211; To send messages to multiple recipients with a single email (and advanced features)</p>
<p>&nbsp;</p>
<h2><strong>Option 1 &#8211; Send single emails/messages using domain authentication</strong></h2>
<p>This option is used when you cannot or do not want to transmit your username and password in the subject field of the email. You set your sending domain in your account, e.g. mycompanyname.com which is what we use for validation when the email comes in. Only emails sent from the domain you set will be accepted (no generic email accounts like hotmail or gmail are acceptable).</p>
<p><strong>Step 1</strong> &#8211; enable domain authentication in your Text Marketer account. <strong>Go to Settings | Account Settings</strong> as shown below.</p>
<p><a href="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-100448.jpg"><img class="alignnone size-full wp-image-2718" title="Fullscreen capture 18052011 100448" src="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-100448.jpg" alt="" width="480" height="292" /></a></p>
<p>&nbsp;</p>
<p>Under &#8220;Email Gateway Settings&#8221; enter your domain name (<em>e.g. if your email address was richard@greens.com then your domain name is greens.com</em>) in the field and press <strong>submit </strong>(do not include the @ sign). The system will return an &#8216;updated&#8217; message.</p>
<p>Then, click <strong>change </strong>next to your domain name and make sure it turns from disabled to <span style="color: #ff0000;"><strong>Active </strong></span>(in red).</p>
<p><strong>Step 2</strong> &#8211; now you are ready to send a test message. Format the email address as [mobilenumber]@textmarketer.biz (for example, <a href="mailto:447777111999@textmarketer.biz">447777111999@textmarketer.biz</a>) and send it our gateway. Make sure you add ## to the end of the text in the body you want to send (this tells our system that this is the end of the text to send out and avoids sending things like signatures etc). You can change the message termination string by logging into your account and navigating to &#8220;settings&#8221; =&gt; &#8220;Account Settings&#8221;.<br />
You don&#8217;t have to put anything in the subject line as it&#8217;s not used.</p>
<p>Here&#8217;s an example message (note the ## added at the end of the text to be sent):</p>
<p><a href="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-095127.jpg"><img class="alignnone size-full wp-image-2715" title="Fullscreen capture 18052011 095127" src="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-095127.jpg" alt="" width="480" height="278" /></a></p>
<p>&nbsp;</p>
<h2><strong>Option 2 &#8211; To send single emails/messages using username/password authentication</strong></h2>
<p>This option is exactly the same as option 1 apart from you do not need to turn on domain authentication in your account and instead you use your API username and password in the subject field (formed like <em>username%password</em>) of the email for authentication. You can find your API username and password in your  account on the <strong>Settings | API Settings</strong> page.</p>
<p>So your email would look like this:</p>
<p><a href="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-095743.jpg"><img class="alignnone size-full wp-image-2716" title="Fullscreen capture 18052011 095743" src="http://www.textmarketer.co.uk/wordpress/wp-content/uploads/2010/06/Fullscreen-capture-18052011-095743.jpg" alt="" width="480" height="277" /></a></p>
<p>&nbsp;</p>
<h2><strong>Option 3 &#8211; To send messages to multiple recipients with a single email (and advanced features)</strong></h2>
<p><img class="alignnone size-full wp-image-1662" style="border: black 1px solid;" title="fullscreen-capture-01072010-143626bmp" src="http://www.textmarketer.co.uk/blog/wp-content/uploads/2010/06/fullscreen-capture-01072010-143626bmp.jpg" alt="fullscreen-capture-01072010-143626bmp" width="480" height="217" /></p>
<p>1. Create an email to the address shown above<br />
<strong>IMPORTANT</strong>: this must be the gateway[at]textmarketer.co.uk address, not a [number]@ style address or it will fail.<br />
2. Put your API username and password in the subject field with a % symbol in between (no spaces). You can find your API username and password in your  account on the Settings &gt; API Settings page but it is usually the same unless you&#8217;ve updated your login details.<br />
3. Type the text message you want to send and at the end put two hash symbols &#8220;##&#8221;<br />
4. Put 1 or many numbers in a single column underneath (it&#8217;s always best in international format but UK numbers starting 07&#8230;&#8230; are OK too).<br />
5. Send the email!</p>
<p><strong><br />
Expanded Instructions / Additional Features</strong></p>
<p>The Email-to-SMS (or email-to-text-message) service allows you to send SMS text messages via email. You must have an <a title="Get an SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/" target="_self">SMS marketing account</a> (you can create a <a title="Free SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/">free account here</a>) to send text messages via this service.</p>
<p>The actual email address of the email-to-SMS gateway is shown in the screenshot above (gateway@ and the domain is textmarketer.co.uk).</p>
<p>To send a text message to one or more mobile numbers, you will specify the message to send, and the numbers to send to, in an email. You then send the email to our email-to-sms gateway email address (using a specific format/structure).</p>
<p>Let&#8217;s say you want to send a text message containing &#8216;Call us for a quote&#8217; to the UK mobile number 07777123456. To do this your email contents would look like this:</p>
<pre>Call us for a quote##
07777123456</pre>
<p>The &#8216;##&#8217; characters simply tell us that this is the end of the message to be sent. And it&#8217;s followed by the mobile number. That&#8217;s it!</p>
<p><strong>IDENTIFICATION</strong></p>
<p>Your email will contain your account&#8217;s API username and password in the email <em>subject</em>. This allows us to verify your identity and deduct credits for the text messages sent from your account.</p>
<p>Your email subject should contain your API username, followed by &#8216;%&#8217;, followed by your API password (You can find your API username and password in your  account on the &#8216;Settings&#8217; &gt; &#8216;API Settings&#8217; page.), e.g.</p>
<pre>myAPIusername%myAPIpassword</pre>
<p><strong>Example</strong></p>
<p>So the complete email (subject and body) would look like this:</p>
<p>Email Subject:</p>
<pre>myAPIusername%myAPIpassword</pre>
<p>Email Body/Contents:</p>
<pre>Call us for a quote##
07777123456</pre>
<p><strong>MULTIPLE RECIPIENTS</strong></p>
<p>You want to send a text message via email to more than one mobile number? No problem! Simply list the numbers on separate lines, like this:</p>
<pre>Call us for a quote##
07777123456
07777123457</pre>
<p>Or put them on the same line, with commas in between to separate the numbers, like this:</p>
<pre>Call us for a quote##
07777123456,07777123457</pre>
<p><strong>MESSAGE WITH MULTIPLE LINES</strong></p>
<p>A message sent using the email-to-SMS gateway can contain more than more line. Simply ensure the message still ends with &#8216;##&#8217;, e.g.:</p>
<pre>Special offer this week on:
- black tights
- green shoes##
07777123456</pre>
<p><strong>FROM/SENDER ID</strong></p>
<p>The sender ID is the number/name that your text message will appear as being sent from. When using the email-to-text API this defaults to the sender ID that is set in your account settings (see the &#8216;Send SMS&#8217; &gt; &#8216;Default Sender ID&#8217; page). For example, you might want to set the sender ID as the name of your business, or perhaps to your own mobile number.</p>
<p>The sender ID can be any 16-digit number, or any text of up to 11 alpha-numeric characters.</p>
<p><strong>Example</strong></p>
<p>Let&#8217;s say you want to send the message &#8216;Special 2-for-1 offer this week&#8217; to the UK mobile number 07777123456, with a sender ID of &#8216;Fast Pizzas&#8217;. Your email body (contents) would look like this:</p>
<pre>Special 2-for-1 offer this week##
Fast Pizzas#
07777123456</pre>
<p>The sender ID is &#8216;terminated&#8217;, i.e. ends with, a single &#8216;#&#8217; character. It can appear before or after the message, so this works too:</p>
<pre>Fast Pizzas#
Special 2-for-1 offer this week##
07777123456</pre>
<p><strong>ERROR REPORTING</strong></p>
<p>If your email-to-SMS request is successful, with no errors or problems, you will not get any response (unless you&#8217;re using the Sandbox service). However, if there are any problems with the format of your email, or problems sending to any of the numbers you specify in the email, you will get a verbose email response with details of the problem(s) encountered.</p>
<p>Note that you will not get any response if your API username or password (included in the email subject) were incorrect, or did not contain the &#8216;%&#8217; character to separate them.</p>
<p><strong>TESTING/SANDBOX</strong></p>
<p>If you want to test the service without actually sending any text messages, there is a different email address to use for this purpose:</p>
<p>gateway-sandbox@ followed by the same domain: textmarketer.co.uk</p>
<p>It works in the same way as the normal service, except that no text messages will be sent and therefore no credit will be deducted from your account. Also, unlike the normal service, you will get a confirmation email telling you what message would have been sent, and to what numbers, if you had used the normal live service.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=1636&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2010/06/sms-gateway/email-to-sms-gateway-service-from-text-marketer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create an Email to SMS Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2010/03/email-to-sms/how-to-create-an-email-to-sms-gateway/</link>
		<comments>http://www.textmarketer.co.uk/blog/2010/03/email-to-sms/how-to-create-an-email-to-sms-gateway/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:25:48 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Email to SMS]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=1248</guid>
		<description><![CDATA[This document explains how you can use postfix to call a script, with the result that you can then interface email to our RestFul SMS gateway API or our Simple SMS Gateway API. We also have a EMAIL to SMS GATEWAY product, the link provides full details. Integrating Email to &#8230; <a href="http://www.textmarketer.co.uk/blog/2010/03/email-to-sms/how-to-create-an-email-to-sms-gateway/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This document explains how you can use postfix to call a script, with the result that you can then interface email to our <a title="Restful SMS API" href="http://www.textmarketer.co.uk/blog/2010/03/business-sms/rest-sms-api-specification-document/">RestFul SMS gateway API</a> or our <a title="simple SMS API" href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">Simple SMS Gateway API</a>.</p>
<p>We also have a EMAIL to SMS GATEWAY product, the link provides full details.</p>
<h3>Integrating Email to our SMS Gateway</h3>
<p>You will require some programing knowlege to configure your systems to send email to the SMS API. We will be using email piping to achieve this goal.</p>
<h3>Step 1. Configure email piping.</h3>
<p>In this example we will be using Postfix (the common open source <span class="caps">SMTP</span> server).</p>
<p>First configure an email account (from the sms user account) you wish to send the SMS mail to, for example sms@mydomain.com. This email address will receive all the emails that will get converted into SMS. Then:</p>
<ul>
<li>Edit alises</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"># nano /etc/aliases</span></li>
<li>Add the alias with piping to the file:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;">sms: &#8220;|/var/www/scripts/emailGateway/processEmail.sh&#8221;</span></li>
<li>Save and exit and update aliases database:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"># newaliases</span></li>
</ul>
<p>Next is to set up the routing in postfix to point to the &#8220;sms&#8221; alias.</p>
<ul>
<li>Edit the virtual file of postfix:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"># nano /etc/postfix/virtual</span></li>
<li>Add the routing info:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;">sms@mydomain.com sms</span></li>
<li>Save and exit.</li>
<li>Now edit the postfix config file to use the virtual database:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"># nano /etc/postfix/main.cf</span></li>
<li>Add the following line:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;">virtual_maps = hash:/etc/postfix/virtual</span></li>
<li>Save and exit.</li>
<li><strong>Note:</strong> This is only needed if postfix hasn&#8217;t been configure to work with the virtual database yet, if you find the above line already in the config file just ignore this step.</li>
<li>Reload Postfix:</li>
<li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"># postfix reload</span></li>
</ul>
<div><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, serif;"><br />
</span></div>
<h3>Step 2. Read and process the email data</h3>
<p>Next up is to create the file processEmail.sh this is the shell script that will get called when email arrives at the SMS account. In our example we are going to get it to call a php script like this:</p>
<p>php /var/www/scripts/emailGateway/send.php</p>
<div>Close and save the file.</div>
<div>Finally we want to use the data, to do this start your php script with the following code:</div>
<pre>$FileHandler = fopen("php://stdin", "r");

if ($FileHandler &gt; 0)
{
	while(!feof($FileHandler))
	{
		$RawEmailContent .= fgets($FileHandler, 120);
	}
}</pre>
<div><span style="font-size: small;"><br />
</span></div>
<p>This will read the email data into a string which you can then parse and send to our API,<a href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/"> see our API documentation</a></p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=1248&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2010/03/email-to-sms/how-to-create-an-email-to-sms-gateway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RESTful Web Services SMS Gateway API Overview</title>
		<link>http://www.textmarketer.co.uk/blog/2010/03/sms-gateway/restful-web-services-sms-api-overview/</link>
		<comments>http://www.textmarketer.co.uk/blog/2010/03/sms-gateway/restful-web-services-sms-api-overview/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 10:57:26 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web to SMS]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[integrate]]></category>
		<category><![CDATA[RESTful]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[sms api]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=1107</guid>
		<description><![CDATA[This blog post has been superseded with our website documentation In addition to our simple HTTP SMS Gateway API, explained here, we also provide a &#8216;RESTful&#8217; SMS API to give you access to information about your SMS marketing account (don&#8217;t have one? Create a free account). If you are familiar with REST APIs, &#8230; <a href="http://www.textmarketer.co.uk/blog/2010/03/sms-gateway/restful-web-services-sms-api-overview/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.textmarketer.co.uk/developers/restful-api.htm">This blog post has been superseded with our website documentation</a></p>
<p>In addition to our simple HTTP <a title="SMS Gateway API" href="/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">SMS Gateway API</a>, explained <a title="SMS Gateway API" href="/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">here</a>, we also provide a &#8216;RESTful&#8217; SMS API to give you access to information about your <a title="Get an SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/" target="_self">SMS marketing account</a> (don&#8217;t have one? Create a <a title="Free SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/">free account</a>).</p>
<p>If you are familiar with REST APIs, you may wish to jump to our <a title="REST SMS API specification" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/" target="_self">REST API specification document</a>.</p>
<p><strong>WHAT&#8217;S A &#8216;RESTful&#8217; SMS API?</strong></p>
<p>REST is a term used to describe a type of two-way communication via the Internet. It is an architectural style, not a standard, but makes use of well-known web technologies such as <a title="HTTP Protocol" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" target="_blank">HTTP</a>, <a title="XML Language" href="http://en.wikipedia.org/wiki/Xml" target="_blank">XML</a> and <a title="MIME types" href="http://en.wikipedia.org/wiki/Mime_types" target="_blank">MIME types</a>. For more information about REST APIs, read <a title="REST Web Services" href="http://www.xfront.com/REST-Web-Services.html" target="_blank">this great description of REST</a>.</p>
<p>At its most simple, our <a title="RESTful Web Services" href="http://http://www.xfront.com/REST-Web-Services.html" target="_blank">RESTful</a> SMS API allows you to request (&#8216;GET&#8217;) information. For example, from this &#8216;resource&#8217;</p>
<p><a title="REST SMS API resource example" href="http://www.textmarketer.biz/services/rest/credits" target="_blank"><em></em></a><em><a title="Credits resource" href="http://www.textmarketer.biz/services/rest/credits" target="_blank">http://www.textmarketer.biz/services/rest/credits</a> </em></p>
<p>you can access the number of credits available in your account. The response is an XML document that looks like this:</p>
<pre>&lt;<span class="start-tag">response</span><span class="attribute-name"> processed_date</span>=<span class="attribute-value">"2010-03-19T09:37:26+00:00"</span>&gt;
&lt;<span class="start-tag">credits</span>&gt;37&lt;/<span class="end-tag">credits</span>&gt;
&lt;/<span class="end-tag">response</span>&gt;</pre>
<p>The SMS REST API is that simple!</p>
<p><strong>WHAT ABOUT SECURITY?</strong></p>
<p>Although it&#8217;s not apparent from the example above, the interface does require authentication using your SMS API account username/password. We provide two ways of passing this information to the server.</p>
<p>The first is via <a title="HTTP Basic Auth" href="http://en.wikipedia.org/wiki/Basic_access_authentication" target="_blank">HTTP Basic Authentication</a>, which is demonstrated by the login box that appears if you click on the resource link above. HTTP Basic authentication can of course be handled within your code. However if you prefer a simpler method, you can pass the parameters via the URL as GET arguments, e.g.</p>
<p><em><a>http://www.textmarketer.biz/services/rest/credits?username=myusername&amp;password=mypassword</a></em></p>
<p>It is also recommended that you use encrypted communication with the REST Web Services by accessing resources via the HTTPS protocol (<em><a>https://&#8230; etc.)</a></em>.</p>
<p><strong>HOW DOES THE RESTful API HANDLE ERRORS?</strong></p>
<p>An advantage of using a RESTful API is that the underlying technologies already do a lot of the work for us. All responses via the HTTP protocol include headers that give us some information about the response. The headers in the above example would look like this:</p>
<pre>Date: Fri, 19 Mar 2010 10:11:40 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 272
Connection: close
Content-Type: application/xml

200 OK</pre>
<p>The MIME type (Content-Type) is set to application/xml which identifies the type of content in the response. It is followed by the response status code &#8217;200&#8242; and the status message &#8216;OK&#8217;. This is a standard response to a successful request.</p>
<p>If we had tried to access a resource which didn&#8217;t exist, e.g.</p>
<p><a title="Bad request" href="http://www.textmarketer.biz/services/rest/anotherResource" target="_blank">http://www.textmarketer.biz/services/rest/anotherResource</a></p>
<p>we would get the following response headers:</p>
<pre>Date: Fri, 19 Mar 2010 10:18:23 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 549
Connection: close
Content-Type: application/xml

404 Not Found :  (ERR101)</pre>
<p>The status code is 404, which is the HTTP protocol&#8217;s standard code for &#8216;resource not found&#8217;. The status message also contains some additional debugging information (ERR91) which you can ignore.</p>
<p>In addition to the status code, the response body contains XML detailing the error. In this example it might look like this:</p>
<pre>&lt;<span class="start-tag">response</span><span class="attribute-name"> processed_date</span>=<span class="attribute-value">"2010-03-24T14:45:54+00:00"</span>&gt;
&lt;<span class="start-tag">errors</span>&gt;
	&lt;<span class="start-tag">error</span><span class="attribute-name"> code</span>=<span class="attribute-value">"404"</span>&gt;Not Found :  (ERR101)&lt;/<span class="end-tag">error</span>&gt;
&lt;/<span class="end-tag">errors</span>&gt;
&lt;/<span class="end-tag">response</span>&gt;</pre>
<p>Thus, you can check the header status code for an error code, as well  as the response body.</p>
<p><strong>WHAT RESOURCES CAN I ACCESS THROUGH THE REST SMS API?</strong></p>
<p>At the moment, the resource URIs available to you are:</p>
<ul>
<li><a title="Credits resource" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#credits_resource"><em>http://www.textmarketer.biz/services/rest/credits</em></a> &#8211; to get the credits available on your account / transfer credits between accounts</li>
<li><a title="deliveryReports resource" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#deliveryReports_resource"><em>http://www.textmarketer.biz/services/rest/deliveryReports</em></a> &#8211; to list your delivery reports</li>
<li><a title="deliveryReport resource" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#deliveryReport_resource"><em>http://www.textmarketer.biz/services/rest/deliveryReport/</em>a_report_name</a> &#8211; to access the details of a specific report</li>
<li><a title="sms resource" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#sms_resource"><em>http://www.textmarketer.biz/services/rest/sms</em></a> &#8211; to send an SMS</li>
<li><em><a title="keywords resource" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#keywords_resource">http://www.textmarketer.biz/services/rest/keywords</a></em> &#8211; to get the availability of a given keyword (see <a href="http://www.textmarketer.co.uk/shortcode_sms.htm" target="_blank">Short Code SMS Service</a>)</li>
</ul>
<p>More will be added in the future.</p>
<p>Here are 2 walk-through examples for using the REST SMS API.</p>
<p><strong>EXAMPLE REQUEST 1 &#8211; GET CREDITS</strong></p>
<p>Make an HTTP GET request like this:</p>
<p><em></em><em><a>http://www.textmarketer.biz/services/rest/credits?username=myAPIusername&amp;password=myAPIpassword</a></em></p>
<p>Obviously, replace &#8216;myAPIusername&#8217; and &#8216;myAPIpassword&#8217; in the URL with the ones you received when you <a title="Sign up for free SMS account" href="http://www.textmarketer.co.uk/signUpGoogle/" target="_blank">signed up</a>.</p>
<p>When you send this request using your favorite programming language, you should receive the following HTTP <em>headers</em> in response:</p>
<pre>Date: Wed, 24 Mar 2010 15:17:28 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 272
Connection: close
Content-Type: application/xml

200 OK</pre>
<p>Using your programming language, you can easily extract the status code (200 in this case), which indicates success (200) or failure (not 200). The status code of 200 here shows us the request was successful, i.e. the response contains the number of credits in your account.</p>
<p>Thus the HTTP response <em>body</em> that you receive will contain XML similar to this:</p>
<pre>&lt;<span class="start-tag">response</span><span class="attribute-name"> processed_date</span>=<span class="attribute-value">"2010-03-24T15:17:28+00:00"</span>&gt;
&lt;<span class="start-tag">credits</span>&gt;10&lt;/<span class="end-tag">credits</span>&gt;
&lt;/<span class="end-tag">response</span>&gt;</pre>
<p>In your programming language you can parse the XML to extract the value of the credits, in this case 10.</p>
<p>But if, for example, you use an incorrect password, the response headers will look like this:</p>
<pre>Date: Wed, 24 Mar 2010 15:30:10 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 377
Connection: close
Content-Type: application/xml

403 Forbidden : Your username/password combination did not match an account. (ERR145)</pre>
<p>The 403 status code shows that an error occurred (all codes except 200 indicate an error). And the XML response body will also contain:</p>
<pre>&lt;<span class="start-tag">response</span><span class="attribute-name"> processed_date</span>=<span class="attribute-value">"2010-03-24T15:29:22+00:00"</span>&gt;
&lt;<span class="start-tag">errors</span>&gt;
	&lt;<span class="start-tag">error</span><span class="attribute-name"> code</span>=<span class="attribute-value">"403"</span>&gt;Forbidden : Your username/password combination did not match an account. (ERR145)&lt;/<span class="end-tag">error</span>&gt;
&lt;/<span class="end-tag">errors</span>&gt;
&lt;/<span class="end-tag">response</span>&gt;</pre>
<p><strong>EXAMPLE REQUEST 2 &#8211; SEND SMS</strong></p>
<p>In your programming language, create an HTTP <em>POST</em> request to this URL:</p>
<p><em>http://www.textmarketer.biz/services/rest/sms</em></p>
<p>Since this is a POST request, you cannot pass the username and password via the URL, so you need to use HTTP Digest Authentication, or simply include these parameters along with the other POST parameters you&#8217;ll need:</p>
<ul>
<li>message=&#8217;my message&#8217;</li>
<li>originator=&#8217;me&#8217;</li>
<li>mobile_number=&#8217;447777777777&#8242;</li>
<li>username=&#8217;myAPIusername&#8217; (replace with your own &#8211; or skip this parameter and use HTTP Digest Authentication)</li>
<li>password=&#8217;myAPIpassword&#8217; (replace with your own &#8211; or skip this parameter and use HTTP Digest Authentication)</li>
</ul>
<p>POSTing an HTTP request using the above as POST parameters would send an SMS message of &#8216;my message&#8217; to the mobile number 447777777777 from &#8220;me&#8221;.</p>
<p>NOTE: It will not work to pass these parameters as GET arguments (e.g. by appending them to the URL); this is the principle of a REST API.</p>
<p>Your HTTP POST request should return something similar to the following response headers:</p>
<pre>Date: Wed, 24 Mar 2010 15:17:28 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 272
Connection: close
Content-Type: application/xml

200 OK</pre>
<p>&#8230;the &#8217;200&#8242; status code showing that your request was successful. The HTTP response body will consist of XML containing the ID of the SMS sent as well as the number of credits used to send it:</p>
<pre>&lt;response processed_date="2010-03-23T10:31:39+00:00"&gt;
	&lt;message_id&gt;4172870907&lt;/message_id&gt;
	&lt;credits_used&gt;1&lt;/credits_used&gt;
&lt;/response&gt;</pre>
<p>If, however, there was a problem with your request parameters, for example you set mobile_number to &#8216;garbage&#8217;, you would get similar response headers to this:</p>
<pre>Date: Wed, 24 Mar 2010 15:30:10 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.2.11 ZendServer/4.0
Content-Length: 377
Connection: close
Content-Type: application/xml

404 Bad request</pre>
<p>And the response body would contain XML detailing the precise problems with your request, like this:</p>
<pre><span><span style="color: #cc0000;"><span style="color: #000000;">&lt;response processed_date="2010-03-24T14:37:41+00:00"&gt;
&lt;errors&gt;
	&lt;error code="10"&gt;invalid number or not an integer&lt;/error&gt;
	&lt;error code="9"&gt;invalid number or too short&lt;/error&gt;
&lt;/errors&gt;
&lt;/response&gt;
</span></span></span></pre>
<p>See the <a title="sms resource" href="http://www.textmarketer.co.uk/blog/2010/03/business-sms/rest-sms-api-specification-document/#sms_resource">specification of the sms resource</a> for more details of the possible error codes.</p>
<p><strong>TESTING/SANDBOX</strong></p>
<p>A <a title="Sandbox API" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/#sandbox">sandbox service</a> is available for testing your code without changing your account or using any credits.</p>
<p><strong>MORE INFORMATION</strong></p>
<p>For detailed information about our RESTful SMS API, please see our <a title="REST SMS API specification" href="/blog/2010/03/business-sms/rest-sms-api-specification-document/" target="_self">REST  API specification document</a>.</p>
<p>For reference, a list of the DTDs that correspond to the  resources available can be <a title="Web Services DTDs" href="http://www.textmarketer.biz/services/rest/DTD/" target="_blank">found here</a>.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=1107&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2010/03/sms-gateway/restful-web-services-sms-api-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to nearly Double Advertising Response Rates</title>
		<link>http://www.textmarketer.co.uk/blog/2010/03/business-sms/how-to-nearly-double-advertising-response-rates/</link>
		<comments>http://www.textmarketer.co.uk/blog/2010/03/business-sms/how-to-nearly-double-advertising-response-rates/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 15:19:42 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[SMS Advertising]]></category>
		<category><![CDATA[SMS Marketing Ideas & Advice]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[rsponse]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=1079</guid>
		<description><![CDATA[How to double advertising response rates. <a href="http://www.textmarketer.co.uk/blog/2010/03/business-sms/how-to-nearly-double-advertising-response-rates/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p align="center"><font color="#003366" size="2" face="Trebuchet MS"><b>Do you advertise? Radio? Directories? Newspapers? Web? </b></font></p>
<p><font color="#003366" size="2" face="Trebuchet MS">Would it be good if you could double your response rate? What if it was free to try so you could see if it&#8217;s really true?</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS"><b><i>Here&#8217;s how it works &#8230; </i></b><br />
                  If you add a text response mechanism to your advertising it improves response rates by 100% on average! Even in business-to-business markets.</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS">Why do you think all the big companies that advertise on TV allow people to respond by text message? &#8230;. Quite simply because <i>they have tested this and it works!</i></font></p>
<p><font color="#003366" size="2" face="Trebuchet MS">We&#8217;ve been in the text industry since 1999 and we know it works but many, many companies in the UK are just missing this opportunity and as a result simply not getting the best ROI on their advertising spend.</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS"><b>FREE TRAIL</b><br />
                    We want to prove to you how effective it is. So we offer a <a href="http://www.textmarketer.co.uk/get-sms-short-code-keyword.htm">FREE TRIAL</a> to all new customers with a full system &amp; their own unqiue text response keyword so they can try it in their next ad.<br />
                   It would be something like &quot;Text ENQUIRE to 88802 and we&#8217;ll call you back&quot; &#8230; these responses would then be emailed to you or your sales team as a new enquiry within a matter of seconds.</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS">You can try it <a href="http://www.textmarketer.co.uk/get-sms-short-code-keyword.htm">free for 7 days</a>. When you are delighted with the results it is only &pound;25 plus VAT per month after that to keep your keyword live &#8211; no long term contracts, you can simply cancel it whenever you like. This is the cheapest text response system in the UK, back by our Best Buy Guarantee.</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS"><a href="http://www.textmarketer.co.uk/get-sms-short-code-keyword.htm">Try it today</a>. We can virtually guarantee it will uplift response rates to your advertising and if it doesn&#8217;t, it&#8217;s cost you nothing in any event.</font></p>
<p><font color="#003366" size="2" face="Trebuchet MS">Just think how often you would have rather sent a text to a company rather than call, email or write &#8211; over 80% of customers are asking for UK companies to offer this service &#8230;. be one of them.</font><font color="#003366" size="2" face="Trebuchet MS"> </font></p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=1079&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2010/03/business-sms/how-to-nearly-double-advertising-response-rates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cineworld Cinemas Choose Text Marketer</title>
		<link>http://www.textmarketer.co.uk/blog/2009/09/bulk-sms/cineworld-cinemas-choose-text-marketer/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/09/bulk-sms/cineworld-cinemas-choose-text-marketer/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 07:51:23 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Bulk SMS]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Distributed SMS Articles]]></category>
		<category><![CDATA[News and Case Studies]]></category>
		<category><![CDATA[SMS Advertising]]></category>
		<category><![CDATA[SMS Marketing Ideas & Advice]]></category>
		<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gateway]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=524</guid>
		<description><![CDATA[In a competitive pitch, Cineworld Cinemas have selected Text Marketer as their bulk sms provider. The Cineworld Group, which has over 75 cinemas nationwide has launched a new sms ticket confirmation service. Customers buying tickets online can now choose to get a booking confirmation text containing film booked, date and &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/09/bulk-sms/cineworld-cinemas-choose-text-marketer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-525" title="logo_cineworld-cinemas" src="http://www.textmarketer.co.uk/blog/wp-content/uploads/2009/09/logo_cineworld-cinemas.gif" alt="logo_cineworld-cinemas" width="219" height="84" />In a competitive pitch, Cineworld Cinemas have selected Text Marketer as their bulk sms provider.</p>
<p><a title="sms for cinemas" href="http://www.cineworld.co.uk/" target="_blank">The Cineworld Group</a>, which has over 75 cinemas nationwide has launched a new sms ticket confirmation service. Customers buying tickets online can now choose to get a booking confirmation text containing film booked, date and time, venue, number in party and credit or debit card used.</p>
<p>The new text alert initiative provides customers with a useful reminder and receipt for their booking.</p>
<p>Using Text Marketer&#8217;s <a title="sms gateway" href="http://www.textmarketer.co.uk/sms-gateway.htm" target="_blank">SMS gateway API service</a>, Cineworld are able to send out unique messages to individuals merging an unlimited number of data fields. Their confirmation message uses 7 separte pieces of information.</p>
<p><em><strong>&#8220;Thanks for booking with Cineworld. We hope you enjoy District 9 at Crawley on 21/09/2009 18:45 for 2 Adult paid £16.80 with card ending 1234.&#8221;</strong></em></p>
<p>Text Marketer&#8217;s SMS Gateway is an ideal way to send SMS messages from your own software application, server or web site. You need a little technical knowhow, but we have helped as much as possible with a number of articles on <a title="sms gateway instructions" href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/" target="_blank">how to integrate an SMS Gateway </a>which should help you along. If you have any technical queries we are always happy to provide you as much support at you need. (0117 9249207)</p>
<p>The Cineworld Group is one of the leading cinema groups in the UK and Ireland. It has a portfolio of 75 cinemas and 775 screens operating under the Cineworld brand which stretches as far north and south as Aberdeen and Jersey and as far east and west as Ipswich and Dublin.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=524&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/09/bulk-sms/cineworld-cinemas-choose-text-marketer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can you benefit from our free SMS keyword and shortcode text response system?</title>
		<link>http://www.textmarketer.co.uk/blog/2009/06/business-sms/how-can-you-benefit-from-our-free-sms-keyword-and-shortcode-text-response-system/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/06/business-sms/how-can-you-benefit-from-our-free-sms-keyword-and-shortcode-text-response-system/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 09:10:45 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[SMS Advertising]]></category>
		<category><![CDATA[SMS Marketing Ideas & Advice]]></category>
		<category><![CDATA[Text Messaging Response]]></category>
		<category><![CDATA[Web to SMS]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[response]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[uk]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=186</guid>
		<description><![CDATA[Ever seen a TV Ad&#8217; that says, &#8220;Text BROCHURE to 69888 for more details&#8221;? Why do they do this instead of just having a phone number for people to call? Simple really, study after study has shown that you if you give people the opportunity to respond by text message, &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/06/business-sms/how-can-you-benefit-from-our-free-sms-keyword-and-shortcode-text-response-system/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Free text response service on UK shortcode" src="http://www.textmarketer.co.uk/img/phone-text-shortcode..jpg" alt="" width="175" height="249" />Ever seen a TV Ad&#8217; that says, &#8220;Text BROCHURE to 69888 for more details&#8221;? Why do they do this instead of just having a phone number for people to call?</p>
<p>Simple really, study after study has shown that you if you give people the opportunity to respond by text message, they do! In fact, on average, around half of people will respond by text who otherwise wouldn&#8217;t &#8211; resulting in a 100% uplift in advertising response! That&#8217;s why all the big companies do it.</p>
<h3>Isn&#8217;t it expensive?</h3>
<p>Traditionally, yes. But, <strong><em>here&#8217;s the good news</em></strong> &#8211; we offer this <a title="Free SMS Text Response Service" href="http://www.textmarketer.co.uk/free-autoresponse-keyword.htm">text response service to any UK company 100% Free</a>.</p>
<h3>Why would you do that!? Surely there&#8217;s a catch?</h3>
<p>For over a decade we&#8217;ve been helping businesses benefit by adding text message marketing into their mix and we&#8217;ve found that once companies find out how effective it is they increase their activity and volumes of Bulk SMS.</p>
<p>As the UK&#8217;s <strong>lowest cost, dependable <a title="Cheap Bulk SMS" href="http://www.textmarketer.co.uk/bulksms/sms-bulk.htm">Bulk SMS</a></strong><a title="Cheap Bulk SMS" href="http://www.textmarketer.co.uk/bulksms/sms-bulk.htm"> supplier</a> (we even produce a <a title="Compare Bulk SMS Prices" href="http://www.textmarketer.co.uk/bulk-sms-prices.htm#compare">Bulk SMS competitor price comparison chart</a> to show price differences) we therefore hope that if you choose to have a free text response keyword and it works for you, you&#8217;ll naturally use us for Bulk SMS (although there&#8217;s no commitment to do so).</p>
<h3>What could I use a free text response service for?</h3>
<p>There&#8217;s the obvious for advertising purposes to gather responses but once you have the free platform you&#8217;ll discover a whole host of other uses as well as being amazed how much customers enjoy interacting with you by text message.</p>
<p>For example, on a free keyword HOLS for a travel agent one could consider;</p>
<ul>
<li>&#8220;Text HOLS and your email addres to 88802 and we&#8217;ll e-mail you our latest holiday offers&#8221;</li>
<li>&#8220;Text HOLS and your favourite country to receive text alerts on holiday deals for that country&#8221;</li>
<li>&#8220;Text HOLS OFFERS to receive text alerts on all our holiday deals&#8221;</li>
<li>(From a simple question), &#8220;Text HOLS then A, B or C and receive a £50 discount voucher if you get the right answer&#8221;</li>
<li>&#8220;Text HOLS and your planned next holiday date and we&#8217;ll contact you then to advise of our best deals&#8221;</li>
<li>&#8220;Text HOLS WIN to enter our prize draw for a free holiday&#8221;</li>
<li>and so on &#8230;..</li>
</ul>
<p>If you&#8217;d like to see how quickly and efficiently the service works, text <strong>DEMO</strong> to <strong>88802</strong> and you&#8217;ll receive on of our standard welcome Text Marketer messages.</p>
<h3>How do I get the data from people responding?</h3>
<p>You get all the incoming data, their mobile number, date and time of the message and the full content of their message.</p>
<p>There are 3 ways to retrieve that data;</p>
<ul>
<li>You login to your <a title="Bulk SMS Software" href="http://www.textmarketer.co.uk/free-bulk-sms-software.htm">free SMS account</a> and download all the data to a spreadsheet</li>
<li>And/or, you can have each and every response emailed to as many email addresses as you like</li>
<li>And/or, if you&#8217;re a bit more technical, you can <a title="Integrate an SMS Gateway" href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/how-to-integrate-our-sms-gateway-api-into-your-systems/">integrate into our SMS Gateway</a> to receive the data directly to your web application. This will allow you to do clever things with the responses.</li>
</ul>
<p>I hope that gives you enough information for now and some ideas.</p>
<p>Why not try a <a title="Free text response keyword" href="http://www.textmarketer.co.uk/free-autoresponse-keyword.htm">free keyword on our shortcode</a> and see if it works for you, there&#8217;s nothing to lose and a huge amount to gain!</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=186&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/06/business-sms/how-can-you-benefit-from-our-free-sms-keyword-and-shortcode-text-response-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5 Delivery Report Helper Class for our SMS Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-delivery-report-helper-class/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-delivery-report-helper-class/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 10:16:51 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[PHP Classes]]></category>
		<category><![CDATA[delivery]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=171</guid>
		<description><![CDATA[Class Name: ProcessDeliveryReport This class enables you to access your delivery reports in a nice simplified way. You can search for the outcome of a message for a given number, specify the outcome and the number, download all the data for the given date or parse the reports line by line. &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-delivery-report-helper-class/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Class Name: ProcessDeliveryReport</h2>
<p>This class enables you to access your delivery reports in a nice simplified way. You can search for the outcome of a message for a given number, specify the outcome and the number, download all the data for the given date or parse the reports line by line.</p>
<p>The constructor requires the delivery report directory that is shown in your account. To find your  delivery report directory, log into your system click the menu heading &#8220;Reports&#8221; then select &#8220;Delivery Reporting&#8221;, you will see a green icon, roll over this and you can find the directory name at the bottom.</p>
<p>If you have sent a message greater than 160 characters you will find multiple entries for that particular number . For instance if your message was 200 characters you will find 2 reports for that number. A message is built from 160 chunks</p>
<p>Download the <a href="http://www.textmarketer.co.uk/downloads/ProcessDeliveryReport.txt" target="_blank">PHP 5 Delivery Report Class</a></p>
<h2>Example of use</h2>
<pre>&lt;?

$reports = new ProcessDeliveryReport ( "Kt65CZMtxlIiEU328ilCBgC38" ); // your delivery report directory
if ($reports-&gt;setReportDate ( "20-05-09" )) print_r ( $reports-&gt;findNumber ( "44777777777", "r" ) ); // print the array of results
else echo "Not found";

?&gt;</pre>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=171&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-delivery-report-helper-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5 SMS Send Class implementing listeners on our SMS Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-sms-send-class-implementing-listeners/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-sms-send-class-implementing-listeners/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 08:33:07 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[PHP Classes]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=167</guid>
		<description><![CDATA[Class Name: SendSMSNotifier This class is designed around the FREE Text Marketer SMS API, you need to sign up here to use it. SendSMSNotifier is a singleton class design, incorporating listeners. Your class must include the following public functions: creditAlert($credits_remaining) and failureAlert($error,$number,$message,$error). Download the class from here Example of use &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-sms-send-class-implementing-listeners/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Class Name: SendSMSNotifier</h2>
<p>This class is designed around the FREE Text Marketer SMS API, you need to sign up here to <a href="http://www.textmarketer.co.uk/free-bulk-sms-software.htm" target="_blank">use</a> it.</p>
<p>SendSMSNotifier is a singleton class design, incorporating listeners. Your class must include the following public functions: creditAlert($credits_remaining) and failureAlert($error,$number,$message,$error).</p>
<p>Download the class from <a href="http://www.textmarketer.co.uk/downloads/SendSMSNotifier.txt" target="_blank">here</a></p>
<h2>Example of use</h2>
<pre>class MyTestClass
{</pre>
<pre>        /// simple array of data in: number, message, sender Id (aka originator) format, ideally the data will come from a database
	private $mySMSdata = array(array("44777777777","Hello World!","Me"),
			                             array("text","This will throw an error, mobile number is text","Me"));

	function __construct()
	{
		$sms = SendSMSNotifier::getInstance("myUsername","myPassword"); // your account login details
		$sms-&gt;addListener($this); // Your class gets added to the listeners that will get notified on an event
		$sms-&gt;setCreditThreshold(5); // You want o be notified when you have 5 credits left

		foreach($this-&gt;mySMSdata as $record) // send some data
		{
			list($number,$message,$sender) = $record;
			$sms-&gt;send($number,$message,$sender); // send to the api
		}
		echo $sms-&gt;getCredits();
		print_r($this-&gt;errors);
	}

	public function failureAlert($error,$number,$message,$originator)
	{
		/// Required function for failure messages, you could stop the sending here or log the results
		$this-&gt;errors[] = array($error,$number,$message,$originator);
	}

	public function creditAlert($credits)
	{
		/// Required function for credit alerts, this basic implementation stops sending anymore SMS's
		die("I have nearly run out of credits($credits left), abandon sending!");
	}
}</pre>
<p>So here&#8217;s what happens. You send a bunch of text messages to the gateway using your class (in this example MyTestClass), if you get a failure such as a badly formatted number your function <strong>failureAlert</strong> gets called with the parameters of the failure and data, you can then decide on the implmentation. In the above example it just stores them in an array, once you have sent all the data you could then use the data to clean your database etc.</p>
<p>If the credit limit (in the above case this is 5 $sms-&gt;setCreditThreshold(5) ) your function <strong>creditAlert</strong> will get called, in this case we think this is bad so we use the hammer of the <strong>die()</strong> function to stop the sending, obviously you would handle this much more elegantly :-)</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=167&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-sms-send-class-implementing-listeners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to integrate our SMS Gateway API into your systems</title>
		<link>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/how-to-integrate-our-sms-gateway-api-into-your-systems/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/how-to-integrate-our-sms-gateway-api-into-your-systems/#comments</comments>
		<pubDate>Wed, 20 May 2009 14:34:32 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[integrate]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[Web to SMS]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=70</guid>
		<description><![CDATA[Introduction Adding SMS as a communication method to a system is often very useful, for instance you don&#8217;t have issues with spam filtering, it doesn&#8217;t require the person to make an immediate response like a phone call, so it&#8217;s great for alerts and triggers. Another good application for SMS (text &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/how-to-integrate-our-sms-gateway-api-into-your-systems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Adding SMS as a communication method to a system is often very useful, for instance you don&#8217;t have issues with spam filtering, it doesn&#8217;t require the person to make an immediate response like a phone call, so it&#8217;s great for alerts and triggers. Another good application for SMS (text messaging) which is often over looked is the ability to use it as a method to update a system or retrieve information without needing any equipment other than a mobile phone, any one would work. This is done using a short code.</p>
<p><strong>Consider this example:</strong></p>
<p>You own a fictitious &#8220;temporary employment agency&#8221; with several hundred people on your books.  Your client has asked you to fulfill a specific job such as a receptionist. You send an SMS:</p>
<p><strong>Receptionist cover required for 2 weeks 4 hr per day @ £10 per hr, location Bristol. Reply with &#8220;more 4567a&#8221; for more info.</strong></p>
<p>The last bit (more 4567a) is the information that allows us to automate things, the keyword <strong>more</strong> is used to identify you, and the code would be a reference to the job. The potential candidate could then reply where by (in this case) you could :</p>
<ol>
<li>Send more details from the job description</li>
<li>Update the database that this person is a likely candidate</li>
<li>The person has expressed interest in the receptionist job, we could make an assumption that they maybe interested in other receptionist jobs so you could start creating groups that could be used for later targeting.</li>
</ol>
<h2>Implementation</h2>
<p><strong>So how do we set up the <a title="SMS Gateway" href="http://www.textmarketer.co.uk/sms-gateway.htm">SMS gateway</a> and send messages? Fortunately it&#8217;s easy.</strong><br />
First you need an <a href="http://www.textmarketer.co.uk/free-bulk-sms-software.htm">account</a> (it&#8217;s free) and automated. You&#8217;ll get the user name and password you need plus you get some free sends. You will also need to ask for the API URL.</p>
<p>Next use the out bound API (sometimes called an SMS gateway) for your message. This is a simple HTTP GET request which can either be sent via http or https. You will need to url encode the message.<br />
<strong>http://&lt;request the url&gt;?username=myUsername&amp;password=myPassword&amp;number=447777777777&amp;message=Receptionist+cover+required+for+2+weeks+4+hr+per+day+%40+%C2%A310+per+hr%2C+location+Bristol.+Reply+with+%22more+4567a%22&amp;orig=88802</strong><br />
You can try the above in any old browser.</p>
<p><a title="Example PHP5 send SMS class" href="http://www.textmarketer.co.uk/blog/2009/05/technical/text-marketer-apigateway-spec/" target="_blank">There is an example class (in PHP 5)</a> that would do this for you</p>
<h3>Next we want to use the incoming response from the recipient</h3>
<p>This is the bit where we need to speak to or email the company,  a keyword is required  (which is free) on the 88802 short code, in our example we are using the word &#8220;more&#8221;. You then supply Text Marketer with a URL on your domain that will get notified with the parameters once a response is received. For example www.mydomain.com/myscript.php</p>
<p>If the applicant replied with &#8220;more 4567a&#8221; you would receive an HTTP GET like this <strong>http://www.mydomain.com/myscript.php?number=4477777777&amp;message=more+4567a&amp;network=ORANGEUK</strong></p>
<p>It is then up to you how you use this information, the example gives a few ideas.</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=70&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/how-to-integrate-our-sms-gateway-api-into-your-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS Gateway API &#8211; Specification</title>
		<link>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/#comments</comments>
		<pubDate>Wed, 20 May 2009 12:06:50 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[All SMS Gateway Documentation]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[specification]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=77</guid>
		<description><![CDATA[This blog post has been superseded with our website documentation It is recommended that you use the  RESTful version of the API which has largely superseded this document (you can do more with it). However if you want to get up and running quickly then it might still be the best way for you. When you create a free account &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.textmarketer.co.uk/developers/simple-sms-api.htm">This blog post has been superseded with our website documentation</a></p>
<p>It is <strong>recommended</strong> that you use the  <a href="http://www.textmarketer.co.uk/blog/2010/03/business-sms/rest-sms-api-specification-document/">RESTful version of the API</a> which has largely superseded this document (you can do more with it). However if you want to get up and running quickly then it might still be the best way for you.</p>
<p>When you create a <a href="http://www.textmarketer.co.uk/free-bulk-sms-software.htm">free account</a> you can also use the Text Marketer API (sometimes known as a gateway).<br />
The API uses simple HTTP GET requests to communicate with the Text Marketer gateway server. The requests allow you to send SMS&#8217;s through the system, you can also retrieve <a href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/using-the-api-automating-delivery-report-collection/">delivery reports discussed here</a>.</p>
<h3>HTTP GET Request Parameters</h3>
<h4></h4>
<table border="0" cellpadding="2" cellspacing="5">
<tbody>
<tr>
<td><strong>Parameter</strong></td>
<td><strong>Comment</strong></td>
</tr>
<tr>
<td>username</td>
<td>Can be found by logging in to your account : Settings -&gt; API Settings</td>
</tr>
<tr>
<td>password</td>
<td>Can be found by logging in to your account : Settings -&gt; API Settings</td>
</tr>
<tr>
<td>orig</td>
<td>Who is the message from? This can be 11 alpha-numeric or 16 numeric characters</td>
</tr>
<tr>
<td>number</td>
<td>The recipient. Please make sure you include the international code e.g <strong>44</strong>77777777</td>
</tr>
<tr>
<td>message</td>
<td>up to 612 character message</td>
</tr>
<tr>
<td>option</td>
<td>can be blank or set to xml (recommended) *</td>
</tr>
</tbody>
</table>
<p>* optional parameter, discussed below.</p>
<p><strong>URL ENCODING<br />
</strong>You must <a href="http://www.blooberry.com/indexdot/html/topics/urlencoding.htm">url encode</a> the <strong>orig</strong> and <strong>message</strong> parameters, if you dont do this you&#8217;ll get gateway failures or odd results.</p>
<p><strong>SUPPORTED CHARACTERS</strong><br />
The GSM alphabet is a subset of ISO-8859-1. The SMS GSM characters we can support is <a title="GSM Character Set" href="http://www.textmarketer.co.uk/blog/2009/07/bulk-sms/supported-and-unsupported-characters-in-text-messages-gsm-character-set/" target="_blank">documented here</a></p>
<p><strong>CONCATENATION</strong><br />
If you exceed 160 characters you automatically covert to concatenation sending, this has the following connotations. Each message consists of a 153 character &#8216;chunk&#8217; (not 160 chars) the extra characters are used to glue the messages together. Therefore a message that is 307 characters long will require 3 messages to send.</p>
<h3>An Example HTTP GET Request</h3>
<p><span style="color: #808080;"><em><span style="color: #0000ff;">http://www.textmarketer.biz/gateway/?username=n&amp;password=s&amp;number=4477777777&amp;message=test&amp;orig=me&amp;option=xml</span></em></span></p>
<p>This would send an SMS to 4477777777 from &#8220;me&#8221; with the message test, remember the username &#8220;n&#8221; and password &#8220;p&#8221; can be found un your account under the <strong>Text Response =&gt; API Settings </strong>menu option.</p>
<p><strong>SSL (HTTPS) Support</strong></p>
<p>The API also supports SSL, just use port 443 instead (<strong> https</strong>:// )</p>
<h3>Gateway Responses</h3>
<p>The API or Gateway can respond in 2 formats depending if you have set the option=xml (recommended) or not.</p>
<p><strong>No option parameter (or option blank).  Simple &#8216;plain text&#8217; response </strong></p>
<p>Once you have made a successful connection (HTTP 200) to our server and sent the request the server will reply in two different ways.</p>
<ul>
<li>SUCCESS &lt;new line&gt;&lt;number of credits remaining&gt;&lt;new line&gt;</li>
<li>FAILED &lt;new line&gt; &lt;reasons&gt;&lt;number of credits remaining if available&gt;&lt;new line&gt;</li>
</ul>
<table border="1" cellpadding="2">
<tbody>
<tr>
<td>SUCCESS<br />
4</td>
</tr>
<tr>
<td>Or</td>
</tr>
<tr>
<td>FAILED<br />
invalid number, not an integer<br />
invalid number, too short<br />
3</td>
</tr>
</tbody>
</table>
<p>The final line of the response contains the number of credits you have remaining, you get 10 free credits with your account.</p>
<p><a href="http://www.textmarketer.co.uk/blog/2009/06/technical/php-5-simple-sms-send-class/">A simple PHP 5 class for sending bulk SMS is available here</a></p>
<p><strong>Using the option=xml (recommended)</strong></p>
<p>A better way of decoding the response is to use the parameter <strong>option</strong>, this will make the gateway respond in the  XML format which gives room for future proofing and also it&#8217;s a better way to interpret / parse the results.</p>
<p><strong>XML Example (success)</strong></p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</pre>
<pre>&lt;!DOCTYPE response SYSTEM "http://www.textmarketer.biz/dtd/api_response.dtd"&gt;</pre>
<pre>&lt;response status="success" id="1213465434"&gt;</pre>
<pre>    &lt;credits&gt;1000&lt;/credits&gt;</pre>
<pre>   &lt;credits_used&gt;1&lt;/credits_used&gt;</pre>
<pre>&lt;/response&gt;</pre>
<p><strong>XML Example (failure)</strong></p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</pre>
<pre>&lt;!DOCTYPE response SYSTEM "http://www.textmarketer.biz/dtd/api_response.dtd"&gt;</pre>
<pre>&lt;response status="failed" id="0"&gt;</pre>
<pre>   &lt;reason&gt;invalid message or missing&lt;/reason&gt;</pre>
<pre>   &lt;reason&gt;invalid number or too short&lt;/reason&gt;</pre>
<pre>&lt;/response&gt;
<strong> </strong></pre>
<p><a href="http://www.textmarketer.biz/dtd/api_response.dtd">The DTD for the xml is available here</a>. In reality it doesn&#8217;t get any more complicated than the above.</p>
<p><a href="http://www.textmarketer.co.uk/blog/2009/06/technical/php-5-simple-sms-send-class/">A simple PHP 5 class for sending bulk SMS is available here</a></p>
<p><a href="http://www.textmarketer.co.uk/blog/2009/07/technical/using-our-short-code-and-gateway-apis-to-create-a-game/" target="_blank">Help and an example of our short code API</a></p>
<p><a href="http://www.textmarketer.co.uk/blog/2009/06/documentation/bulk-sms-api-asp-help/">Help with ASP Bulk SMS</a></p>
<p><a title=".net examples for sms gateway" href="http://www.textmarketer.co.uk/blog/2009/07/sms-gateway/net-examples/" target="_blank">NET Examples<br />
</a><br />
<a title="allowed characters for sms" href="http://www.textmarketer.co.uk/blog/2009/07/bulk-sms/supported-and-unsupported-characters-in-text-messages-gsm-character-set/" target="_blank">Supported and Unsupported characters in Text Messages &#8211; GSM Character Set<br />
</a><br />
<a title="sms delivery reports help" href="http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-delivery-report-helper-class/" target="_blank">PHP 5 Delivery Report Helper Class for our SMS Gateway<br />
</a><br />
<a title="implementing listeners for sms gateway" href="http://www.textmarketer.co.uk/blog/2009/06/sms-gateway/php-5-sms-send-class-implementing-listeners/" target="_blank">PHP 5 SMS Send Class implementing listeners on our SMS Gateway<br />
</a><br />
<a title="delivery reports for sms api" href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/using-the-api-automating-delivery-report-collection/" target="_blank">Using the SMS Gateway API, Automating Delivery Report Collection<br />
</a><br />
<a title="short code sms api" href="http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-short-code-api-options/" target="_blank">Text Marketer short code API options</a></p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=77&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/05/sms-gateway/text-marketer-apigateway-spec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use an SMS Gateway</title>
		<link>http://www.textmarketer.co.uk/blog/2009/05/bulk-sms/what-can-you-use-an-sms-gateway-for/</link>
		<comments>http://www.textmarketer.co.uk/blog/2009/05/bulk-sms/what-can-you-use-an-sms-gateway-for/#comments</comments>
		<pubDate>Fri, 15 May 2009 13:18:38 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Bulk SMS]]></category>
		<category><![CDATA[Business SMS]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Text Messaging Software]]></category>
		<category><![CDATA[Web to SMS]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[integrate]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://87.106.109.73/blog/?p=42</guid>
		<description><![CDATA[Our SMS Gateway is extremely powerful indeed. It allows companies to connect to our systems and send out messages 1 at a time. Although this sounds a bit old fashioned in these days of huge numbers of bulk sms, it has some considerable advantages. By integrating with our SMS Gateway &#8230; <a href="http://www.textmarketer.co.uk/blog/2009/05/bulk-sms/what-can-you-use-an-sms-gateway-for/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="SMS Gateway" src="http://www.textmarketer.co.uk/img/happy-man-mobile-phone.jpg" alt="" width="113" height="170" />Our <a title="SMS Gateway" href="http://www.textmarketer.co.uk/sms-gateway.htm">SMS Gateway</a> is extremely powerful indeed. It allows companies to connect to our systems and send out messages 1 at a time. Although this sounds a bit old fashioned in these days of huge numbers of bulk sms, it has some considerable advantages.</p>
<p>By integrating with our SMS Gateway you can effectivel &#8216;text enable&#8217; any software, web site of web service. Also, each message can be tailored to the recipient. For example, banks use this service for bank balance notifications and alike.</p>
<p>One of the most powerful ways we&#8217;ve seen it working is forconfirming information to customers automatically. For example, when a package is going  to be delivered or what the status of an order is or a change in flight times, the list is endless. And, unlike email, people always have their phones with them and so the information is to hand.</p>
<p>You do need a certain level of expertise to integrate web systems or software with our SMS Gateway but it isn&#8217;t difficult. For the technically minded amongst you, it is a simple &#8216;HTTP GET&#8217; request.  See our <a title="Integrating an SMS Gateway" href="http://www.textmarketer.co.uk/files/Text%20Marketer%20API%20Specification.doc">integrating an SMS Gateway</a> document or talk to us for more details.</p>
<p>An easy example of how this can work is password distribution on sign up. To try it, sign up for a <a title="Bulk SMS account free" href="http://www.textmarketer.co.uk/free-bulk-sms-software.htm">free sms account</a> and you&#8217;ll see that particular method in action!</p>
<img src="http://www.textmarketer.co.uk/wordpress/?ak_action=api_record_view&id=42&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.textmarketer.co.uk/blog/2009/05/bulk-sms/what-can-you-use-an-sms-gateway-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

