1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Problem send sms in using perl

Discussion in 'Perl' started by rahul_mawana, Apr 6, 2009.

  1. rahul_mawana

    rahul_mawana New Member

    Hi friends, i m trying to send sms in perl using ww.sms1.in sms gateway service here is my code


    use HTTP::Request::Common;
    use LWP::UserAgent;
    use SMS::API;


    my $sms = SMS::API->new(
    'email' => "**********",
    'password' => "*******",
    'to' => "91********",
    '$from' => "Naps", #Optional
    'message'=>"hello how are you", #Max 160 characters Message.
    ) or die $!;
    if($send = $sms->send)
    {
    print"Message sent successfully";
    }

    else
    {
    print"msg cant go";
    }

    everything ok but msg not coming on phone plz helpppppppppp meeeee friends
    Thanks
     
  2. shabbir

    shabbir Administrator Staff Member

    At times when the number is in DND list some SMS provider does not deliver the SMS.
     
  3. pradeep

    pradeep Team Leader

    Did u try contacting the SMS provider?
     
  4. rahul_mawana

    rahul_mawana New Member

    yes i connected it is being connected
     
  5. rahul_mawana

    rahul_mawana New Member

    SIR is there any perl module that can be used to send sms using 160by2.com
     
  6. ungalnanban

    ungalnanban New Member

    Here I attached SMS module and example program.

    using this module we can send free sms from way2sms.com

    for sending sms you need the way2sms account.

    download the sms.zip file and use it.

    [ Using this module only I am sending SMS to my friends. ]
     

    Attached Files:

    • sms.zip
      File size:
      2.5 KB
      Views:
      34

Share This Page