in reply to Re: send message to sprint PCS through their site
in thread send message to sprint PCS through their site
#!/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 | |
by Anonymous Monk on May 10, 2004 at 23:28 UTC | |
by shotgunefx (Parson) on May 17, 2004 at 13:34 UTC |