Re: [Rails] Re: Sending sms via rails

2011-03-18 Thread seeni khan
Thank u Fallen !!

On Fri, Mar 18, 2011 at 2:16 PM, Fallen Phoenix jaustinhug...@gmail.comwrote:

 Hey Seeni,

 The first thing that comes to mind is, does sms_fu include support for
 your carrier there in India?  Its GitHub documentation states that the
 to phone number must be exactly 10 digits long (without any non-
 digit characters).  I'm not sure what phone numbers in India look
 like, but that could be one place to start.

 Secondly, sms_fu appears to rely on simply sending an e-mail to your
 phone number@your carrier's sms domain.  It just happens to have a
 list of known carrier e-mail to SMS domains.  Behind the scenes, all
 it's doing is sending an e-mail to that carrier (or at least that's my
 understanding).

 Because it's relying on e-mail, what's your action mailer
 configuration setting for development mode?  Current versions of Rails
 usually set the perform_deliveries option to false for development and
 test environments, meaning that any e-mail that goes through
 ActionMailer will just be printed out to the logfile, instead of
 actually sent.  If you're in development or test mode without having
 set that option to true (config/environments/development.rb or
 test.rb), it could be that the system isn't actually sending the e-
 mail to your carrier.

 A couple other points to possibly think through:
  - Does the carrier support messages in the language (and alphabet -
 US-ASCII, UTF-8 or Hindi) you're using?
  - Are you sending an HTML-formatted e-mail, or just plain text?

 One other thing to look at would be asking the carrier in question
 what their SMS-to-e-mail domain is.  For example, here in the US, with
 Sprint it's phone number@messaging.sprintpcs.com.  If the
 configuration for sms_fu doesn't have a known sms-to-email domain name
 for your carrier, you'll probably need to add it.

 Good luck to you Seeni!  I hope you get it figured out soon.

 On Mar 17, 11:34 pm, seeni khan rafigl...@gmail.com wrote:
  Hi all,
   Im trying to send sms via rails but it is not reached my mobile
  because in sms_fu.yml file there is no carrier is set for India. How can
 i
  set the carrier for send sms to India. Please anyone help me. I am using
  sms_fu gem for send sms.
 
  --
 
  *Thanks  Regards,*
 
  *RAFI,*
 
  ***In Every moment, thank God.*

 --
 You received this message because you are subscribed to the Google Groups
 Ruby on Rails: Talk group.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To unsubscribe from this group, send email to
 rubyonrails-talk+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/rubyonrails-talk?hl=en.




-- 

*Thanks  Regards,*

*RAFI,*

***In Every moment, thank God.*

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



Re: [Rails] Re: Sending sms via rails

2011-03-18 Thread seeni khan
Hey Fallen phoenix,
Is there any other option available in rails to send sms?

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



Re: [Rails] Re: Sending sms via rails

2011-03-18 Thread Bryan Crossland
On Fri, Mar 18, 2011 at 3:46 AM, Fallen Phoenix jaustinhug...@gmail.comwrote:

 The first thing that comes to mind is, does sms_fu include support for
 your carrier there in India?


Looking at the default list of carriers supported in the sms_fu.yml file
there are none listed for India. However, that does not mean that you can't
use one. As Fallen has pointed out, your carrier would have to accept email
to sms (that is how sms_fu is sending messages). Depending on the carrier,
users might have to opt in to get email to sms. Talk to the different
carriers and find out if they do accept email to sms, what domain should the
email be going to if they do, and do customers need to have that feature
turned on in their accounts. After getting that information, try adding that
to sms_fu to make it work. If you don't want to hassle with all that or it
is still not working, Fred's suggestions of what companies to use to handle
that service for you is a good one. Check them out.

B.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.