Reputation: 43959
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
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
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.
Gemfile
: gem "sms_fu"
rails c
)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
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