Mohit Jain
Mohit Jain

Reputation: 43959

send free sms from rails app

How can i send free sms to US numbers from a rails app.

Is sms_fu working with rails 3?

Its not working for me :-- After installing the gem.

Steps:- Specified this in my environment file

 1. sms_fu = SMSFu::Client.configure(:delivery => :action_mailer)

and then

2.sms_fu.deliver("5558675309","at&t","message") is not working

Upvotes: 1

Views: 4607

Answers (3)

vanboom
vanboom

Reputation: 1332

I recommend not using SMS_FU for Rails 3. Implement an SMS sender yourself. It's simple, and brendanlim no longer seems interested in supporting the sms_fu gem.

Upvotes: 0

nathanvda
nathanvda

Reputation: 50057

From the documentation, i can see this does not work for all providers (i am from Europe). So for me this is not a viable solution, although it seems very interesting.

To test it, i would recommend the following.

  • add the gem to your Gemfile: gem "sms_fu"
  • start up the rails console (rails c)
  • inside the console type the two lines you typed, and see what happens

Inside your Rails-app, I would create the sms_fu variable inside an initializer (a file inside the config/initializers folder, and then inside any controller action, you can just do sms_fu.deliver(...).

We use the paying sms-services from Clickatell and Tyntec.

Upvotes: 0

sethvargo
sethvargo

Reputation: 26997

I recommend using Twilio. NO, it's not free, but there are no reliable FREE SMS service APIs. SMS_fu just composes it as an email - that's why the carrier is required.

Twilio is cheap ($0.03/msg) and reliable. And it comes with more powerful tools and analytics.

NOTE: I'm in no way affiliated - just a fan of their service.

Upvotes: 4

Related Questions