# Send SMS with rails application

**URL:** <https://www.ruby-forum.com/t/send-sms-with-rails-application/181985>\
**Category:** Rails\
**Created:** [January 21, 2010, 5:29am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985 "2010-01-21T05:29:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 5:29am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/1 "2010-01-21T05:29:31Z")

</div>

hi,

I have added SMS sending functionality in my rails application.It  
works in my local pc, but on the live site sms is not sent to any  
one…so, is there any thing which i require to setup on the rails  
server??

thnaks in advance.

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 5:53am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/2 "2010-01-21T05:53:40Z")

</div>

Preksha P. wrote:

> hi,
> 
> I have added SMS sending functionality in my rails application.It  
> works in my local pc, but on the live site sms is not sent to any  
> one…so, is there any thing which i require to setup on the rails  
> server??

With the information you provided, it’s hard to tell. Are your gems  
installed properly on the server? Are there version differences in Rails  
or Ruby? What method are you using to send SMS? Are you getting any  
errors?

> thnaks in advance.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 8:38am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/3 "2010-01-21T08:38:10Z")

</div>

Marnen Laibow-Koser wrote:

> Preksha P. wrote:
> 
> > hi,
> > 
> > I have added SMS sending functionality in my rails application.It  
> > works in my local pc, but on the live site sms is not sent to any  
> > one…so, is there any thing which i require to setup on the rails  
> > server??
> 
> With the information you provided, it’s hard to tell. Are your gems  
> installed properly on the server? Are there version differences in Rails  
> or Ruby? What method are you using to send SMS? Are you getting any  
> errors?
> 
> > thnaks in advance.
> 
> ## Best,
> 
> Marnen Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> removed\_email\_address@domain.invalid

hi,

thanks for your reply…I am not using gem.in my code, for sms sending  
functionality, i mail first to the smscountry with mobile number and  
message and smscountry send message to concern mobile number.same thing  
is working well in my local pc, but on the live site.can any one please  
help me?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 9:01am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/4 "2010-01-21T09:01:45Z")

</div>

Can you send normal emais from your production server?

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 9:09am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/5 "2010-01-21T09:09:30Z")

</div>

kaiiserni wrote:

> Can you send normal emais from your production server?

hi,  
thanks for your reply.  
yes i can.

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 8:55am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/6 "2010-01-21T08:55:19Z")

</div>

SMS country might be allowing requests from your development IP  
address but not from your production IP. Try to get on phone with them  
to sort this out.

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 21, 2010, 12:41pm UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/7 "2010-01-21T12:41:52Z")

</div>

On Jan 21, 8:38Â am, Preksha P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > With the information you provided, it’s hard to tell. Are your gems  
> > removed\_email\_address@domain.invalid  
> > –  
> > Posted viahttp://www.ruby-forum.com/.

Is there any log register? Or console output we can look at?Is the gem  
install in your rubygems dir?  
Would be helpfull info to be able to help you.

cheers

---

<div class="post-metadata">

**Author:** ![preksha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@preksha](https://www.ruby-forum.com/u/preksha)\
**Post date:** [January 22, 2010, 4:48am UTC](https://www.ruby-forum.com/t/send-sms-with-rails-application/181985/8 "2010-01-22T04:48:55Z")

</div>

Joao S. wrote:

> On Jan 21, 8:38Â am, Preksha P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > > With the information you provided, it’s hard to tell. Are your gems  
> > > removed\_email\_address@domain.invalid  
> > > –  
> > > Posted viahttp://www.ruby-forum.com/.
> 
> Is there any log register? Or console output we can look at?Is the gem  
> install in your rubygems dir?  
> Would be helpfull info to be able to help you.
> 
> cheers

hi,

thank for your reply…but there is no any log entry in production log  
so, i can’t see.
