| | |
HOW TO send SMS using ruby on rails
Please support our Ruby advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2007
Posts: 6
Reputation:
Solved Threads: 0
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.
(Replace xxxx with the mobile number)
That's the absolute basics, for the full code, just search for "sms ruby freebiesms" in Google.
Ruby Syntax (Toggle Plain Text)
server = 'http://www.freebiesms.co.uk/sendsms.asmx' service = SOAP::RPC::Driver.new(server, RechnerServiceModule::InterfaceNS) service.default_encodingstyle = SOAP::EncodingStyle::ASPDotNetHandler::Namespace RechnerServiceModule::add_method(service) 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.
Last edited by peter_budo; Jul 29th, 2009 at 5:50 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- how to send sms from web site to mobile (PHP)
- Java app to send an SMS via DKU-5 serial cable (Java)
- Send SMS (Java)
- Send SMS with ASP.NET Webform, (Codebehind VB.NET) (ASP.NET)
- Web, Ruby on Rails Developer (Web Development Job Offers)
- Ruby on Rails category (DaniWeb Community Feedback)
- send a sms when a new email arrives (ASP)
Other Threads in the Ruby Forum
- Previous Thread: Names starting with ":"
- Next Thread: Domain Name Checker
Views: 19768 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for Ruby





