Problem in Sending sms to mobile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnsabar
    New Member
    • Dec 2007
    • 40

    Problem in Sending sms to mobile

    Hi.,

    I am using following code to send sms through e-mail

    Code:
    use Mail::Sendmail;
    %mail = (To => '10digitMobileNo@airtelkk.com',
    	      From => "mymail\@company.com",
                  Message => "SMS Server"
            );
    	$mail{Smtp} = '10.0.1.6';
    	if (sendmail (%mail)) { print "SMS sent OK.\n" }
    	else { print "Error sending mail: $Mail::Sendmail::error \n" }
    Its working fine., except for vodafone network..

    I surfed in the net and found that vodafone network stops this service, i.e sending sms via email

    Is there anyother way or built in modules available for sending free sms to mobile using perl script.

    Thanks.,
    Sabarish
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Sure, there are plenty of sms modules if you search cpan for them.

    I haven't personally used any of these though, so I cannot recommend any of them. Do keep in mind though, that the person receiving them gets charged and not you.

    Regards,

    Jeff

    Comment

    • pramodkh
      New Member
      • Nov 2007
      • 23

      #3
      you can find the mail ids of the mobile networks here
      http://www.funsms.net/freesms2india.h tm

      Comment

      • cnsabar
        New Member
        • Dec 2007
        • 40

        #4
        Hi.,

        By Using the link you given, it is possible only to send sms to airtel network.,
        for Vodafone, BSNL network it is not possible.,

        Is there any other site provide send sms through e-mail

        Comment

        • numberwhun
          Recognized Expert Moderator Specialist
          • May 2007
          • 3467

          #5
          Originally posted by cnsabar
          Hi.,

          By Using the link you given, it is possible only to send sms to airtel network.,
          for Vodafone, BSNL network it is not possible.,

          Is there any other site provide send sms through e-mail
          Its not the site that the OP provided that provides the "Email to SMS", but instead it is the provider, in this case Vodafone and such. If they do not provide support for Email to SMS, then there won't be anything on it.

          Regards,

          Jeff

          Comment

          • cnsabar
            New Member
            • Dec 2007
            • 40

            #6
            Hi.,

            while surfing in the net .,
            I found one site "160by2" that provides email facilities to send a sms to mobile .
            like "9739088575@160 by2.com".
            this facility support all networks in india.

            Only drawback is it allowed only 80 characters, and some adds are append in the message..

            Like this if anyone come across to know any sites., with somewhat increase the size.
            Please inform me..

            Comment

            • numberwhun
              Recognized Expert Moderator Specialist
              • May 2007
              • 3467

              #7
              Originally posted by cnsabar
              Hi.,

              while surfing in the net .,
              I found one site "160by2" that provides email facilities to send a sms to mobile .
              like "9739088575@160 by2.com".
              this facility support all networks in india.

              Only drawback is it allowed only 80 characters, and some adds are append in the message..

              Like this if anyone come across to know any sites., with somewhat increase the size.
              Please inform me..
              I don't know that it lists the sizes supported, but here is a link that provides quite a list of providers that support the email to sms service.

              Regards,

              Jeff

              Comment

              Working...