From: Matthew Smillie Date: 2006-08-10T02:03:40+09:00 Subject: Re: Does Ruby have a built-in SMS Class?? On Aug 9, 2006, at 17:45, Justin Collins wrote: > Trupti Deshpande wrote: >> Can we send SMS using a ruby script from a PC to a mobile?? Does >> Ruby have a built-in SMS class? I would appreciate if you could >> post some sample code or references for the same. >> >> Thanks >> > > No, there's nothing built in. However, some quick Googling found: > http://raa.ruby-lang.org/project/ruby-sms/ > > And a site which is running on rails which sends reminders to your > phone: > http://ohdontforget.com/ > > But SMS can almost always just be sent as email, right? I wish. I know this is common in the US, but elsewhere it's a premium service if it's available at all. There's nothing built-in because sending an SMS relies on having some sort of gateway to a mobile network. Email gateways aren't always available, and aren't always free when they are available. If you don't want to use a phone (like the ruby-sms library does), then you'll have to find a third-party SMS-forwarding service and use whatever format they prescribe. matthew smillie.