in reply to Re: send message to sprint PCS through their site
in thread send message to sprint PCS through their site

Sprint has changed their site around a bit and that code will no longer work. Here is an updated version:
#!/usr/bin/perl -w use strict; use LWP::UserAgent; use HTTP::Request::Common qw(POST); &send_message ('1234567890', 'this is the message', 'metlhed'); sub send_message { my ($phone_num, $message, $call_back) = @_; my ($ua, $req, $content); $ua = LWP::UserAgent->new (); $req = POST 'http://www.messaging.sprintpcs.com/smswmgr/BMG/sendme +ssage.jsp', [ device => 'phone', phoneMin => $phone_num, msg => $message, callBackMin => $call_back, copyEsclateRadio => 'NO VALUE', ]; $content = $ua->request ($req)->as_string; }

Replies are listed 'Best First'.
Re: Re: Re: send message to sprint PCS through their site
by shotgunefx (Parson) on Apr 17, 2002 at 00:45 UTC
    Thanks. I ran into that about a month ago when one a server problem arose and I didn't get notified. I neglected to put the updated version here. Now I have it send me a msg every few days to ping me.

    -Lee

    "To be civilized is to deny one's nature."
      hey baby what u doin
        Ummm... ???


        -Lee

        "To be civilized is to deny one's nature."