views:

784

answers:

4

I have a Rails app that needs to send SMS messages to users but does not need to receive messages.

Is there a free way to do this programmatically? If so, how free is it - do they charge if you go over a certain number of messages?

I know Gmail allows you to send SMS messages now. But I'm not sure if this means you could also send an SMS from an application through an SMTP connection to Gmail. Has anyone done this?

A: 

You can use udefn to send SMS for free. They provide an API.

Reed Copsey
+2  A: 

If you just need to send messages, you're better off compiling as list of cellular proivders and email domains they use. Wikipedia has (what looks like) a pretty extensive list.

eduffy
That's a great idea.
Carlos
you don't have to do that yourself, the sms-fu plugin has already done it.
Chris Drappier
+2  A: 

well, if you use rails, you should try this out, seems to work pretty well

Chris Drappier
I have to have ActionMailer and an email account to send and receive messages, right? From the article I wasn't sure how I need to setup my own email configuration. Or are the emails all sent through some external application?
Carlos
yes, you will need action mailer, and optimally a mail server, but just an account to send from should do fine.
Chris Drappier
A: 

For about 4¢ per message (it seems) you can send through this gateway:

http://www.clickatell.com/pricing/message_cost.php

There is a ruby gem that will help you interface with Clickatell:

http://clickatell.rubyforge.org

Source of info:

http://codeclimber.blogspot.com/2008/03/sms-gateway-review.html

Joshaven Potter
Thanks but I don't have 4 cents per message.
Carlos