> Look into Twilio. The ruby to send a message is dead simple using their gem:
> def send_sms
> account = Twilio::RestAccount.new(TWILIO_ACCOUNT_ID, TWILIO_ACCOUNT_TOKEN)
> recipients.each do |r|
> opts = {
> :To => r.phone_number,
> :From => FROM_NUMBER,
> :Body => self.message
> }
> resp = account.request("/#{API_VERSION}/Accounts/#{TWILIO_ACCOUNT_ID}/SMS/Messages ",
> 'POST', opts)
> end
> end
> On Mar 3, 2011, at 3:23 PM, rjclardy wrote:
> > Long time reader, first time poster...
> > Does anyone have any experience sending/receiving SMS messages with
> > Sinatra? Or with ruby on some other framework? If so, do you have any
> > advice or could you point me to any good info?
> > I apologize for the non-specific question but I just wanted to poll
> > the group for any advice before I really get started.
> > Thanks!
> > --
> > You received this message because you are subscribed to the Google Groups "sinatrarb" group.
> > To post to this group, send email to sinatrarb@googlegroups.com.
> > To unsubscribe from this group, send email to sinatrarb+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/sinatrarb?hl=en.