Do you need to receive SMS? If you need to receive SMS, you will need to host your own GSM device or modem so that people can send you SMS.
If not, you can just use internet SMS gateways like clickatell to do the work, and post to them by HTTP, XML or email. The cost is about 6-8 cents per SMS. There are cheaper services, but not always reliable. If you need to host your own GSM device, you can use software like http://www.visualtron.com or http://www.kannel.org (GPL Open Source). Alternatively, you may obtain a shortcode from your Telco - but these come with monthly subscription of maybe one or two hundreds. :)
OK, for some reason, a moderator is removing the download link for the source code for sending SMS from ruby, so I can post the basics of it here, you can find the complete source code with a search "sms ruby freebiesms" in Google.
server = 'http://example.com/sendsms.asmx'
service = SOAP::RPC::Driver.new(server, RechnerServiceModule::InterfaceNS)
service.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace
result = service.SendSms("Bob","004478660xxxx","00447866xxxxx","Hello From Ruby","en-GB")
(Replace xxxx with the mobile number)
That's the absolute basics, for the full code, just search for "sms ruby freebiesms" in Google.
Edited 6 Years Ago by Ezzaral: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
I'd like to thank the monitors for snipping out that sms link since it is more of an ad than free source. Your company charges for the use of "free sms".... how can you call it free if you charge for it?? anyways thanks mods!
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...