<?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>Patrick O'Doherty &#187; free sms</title>
	<atom:link href="http://patrickodoherty.com/tag/free-sms/feed/" rel="self" type="application/rss+xml" />
	<link>http://patrickodoherty.com</link>
	<description>Ramblings on anything and everything</description>
	<lastBuildDate>Wed, 16 Jun 2010 15:46:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>o2sms on Mac OS X</title>
		<link>http://patrickodoherty.com/2009/01/o2sms-on-mac-os-x/</link>
		<comments>http://patrickodoherty.com/2009/01/o2sms-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 21:20:07 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[net]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[free sms]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[meteor]]></category>
		<category><![CDATA[o2]]></category>
		<category><![CDATA[o2sms]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://patrickodoherty.com/2009/01/o2sms-on-mac-os-x/</guid>
		<description><![CDATA[I&#8217;m a huge fan of the o2sms, a command line application for sending free SMS messages using the websites of three of Irelands most popular mobile operators being o2, Vodafone and Meteor. All of these operators offer the functionality of sending free text messages from their own websites giving users the option to send up [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a huge fan of the <a href="http://www.mackers.com/projects/o2sms/">o2sms</a>, a command line application for sending free SMS messages using the websites of three of Irelands most popular mobile operators being o2, Vodafone and Meteor. All of these operators offer the functionality of sending free text messages from their own websites giving users the option to send up to 300 free SMS messages per month, which is quite a lot considering they charge up to €0.11 per message when you use your phone.</p>

<p>The only problem I find with using these sites is that it takes quite a lot of steps to actually send a message. Open Firefox, load the website, login, navigate to the webtext page etc&#8230; This is where o2sms steps into the equation. It acts like a specialised browser that automates the actions taken by the user to send SMS messages and provides the functionality through a CLI (command line interface), reducing the process to a single terminal command.
<span id="more-60"></span>
The one problem I faced with o2sms was getting it to work on Mac OS X. While there is the option of installing with CPAN it just did not work for me and it was constantly complaining that dependencies were not being met. While the cpan install worked for me on numerous other systems it just failed to install everything on OS X, and so I was left with the task of manually installing it.</p>

<p>The fix turned out to be easier than I expected. When I ran the broken install of o2sms it gave a warning that certain modules could not be found. While I tried installing them individually with CPAN it still wouldn&#8217;t work and so I decided I&#8217;d build each one individually and install them one by one. To do this I had to get the source from <a href="http://cpan.org">CPAN</a> and build each one from the source code.</p>

<p>When all was said and done I was left with a working install, which looks something like this</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">patrick<span style="color: #000000; font-weight: bold;">@</span>Odysseus0<span style="color: #000000; font-weight: bold;">%</span> meteorsms <span style="color: #000000;">1234567890</span>                                   <span style="color: #000000; font-weight: bold;">&lt;</span> ~ <span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> recipient : +<span style="color: #000000;">353234567890</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
lorem ipsum...
.
<span style="color: #7a0874; font-weight: bold;">&#91;</span> logging <span style="color: #000000; font-weight: bold;">in</span> to 0987654321<span style="color: #000000; font-weight: bold;">@</span>meteor.ie ... <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #c20cb9; font-weight: bold;">login</span> successful <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> message sent to +<span style="color: #000000;">353234567890</span>, <span style="color: #000000;">229</span> remaining this month <span style="color: #7a0874; font-weight: bold;">&#93;</span>
patrick<span style="color: #000000; font-weight: bold;">@</span>Odysseus0<span style="color: #000000; font-weight: bold;">%</span>                                                        <span style="color: #000000; font-weight: bold;">&lt;</span> ~ <span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>


<p>Its even possible to send messages using a single command using the -m command line argument.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">patrick<span style="color: #000000; font-weight: bold;">@</span>Odysseus0<span style="color: #000000; font-weight: bold;">%</span> meteorsms <span style="color: #000000;">1234567890</span> <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;lorem ipsum&quot;</span>                  <span style="color: #000000; font-weight: bold;">&lt;</span> ~ <span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> recipient : +<span style="color: #000000;">353234567890</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> reusing <span style="color: #c20cb9; font-weight: bold;">last</span> <span style="color: #c20cb9; font-weight: bold;">login</span> <span style="color: #000000; font-weight: bold;">for</span> 0987654321<span style="color: #000000; font-weight: bold;">@</span>meteor.ie ... <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> message sent to +<span style="color: #000000;">353234567890</span>, <span style="color: #000000;">228</span> remaining this month <span style="color: #7a0874; font-weight: bold;">&#93;</span>
patrick<span style="color: #000000; font-weight: bold;">@</span>Odysseus0<span style="color: #000000; font-weight: bold;">%</span>                                                        <span style="color: #000000; font-weight: bold;">&lt;</span> ~ <span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>


<p>Hopefully this article will help others who have been having troubles with getting o2sms to work on their own OS X installs, or enlighten other people to the brilliance that is o2sms.</p>

<p>Enjoy,</p>

<p>Patrick</p>
]]></content:encoded>
			<wfw:commentRss>http://patrickodoherty.com/2009/01/o2sms-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
