/ Published in: Perl
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
use LWP::UserAgent; use HTTP::Request::Common; # The voice file provided must be in mp3 or wave format. # It will be converted to: 16Bit 8kHz mono wave format. my $ua = LWP::UserAgent->new(); my $res = $ua->request ( POST 'http://www.smsmatrix.com/matrix_voice', Content_Type => 'form-data', password => 'pass8988', phone => '12502771720', ## comma delimited list voicefile => ['/tmp/november_sale.wav'], response => 1, ## optional callerid => '16307791722' ## optional ] );
URL: http://www.smsmatrix.com/?sms-gateway