Faith.Moraa 0 Newbie Poster

Hello guys,

I'm trying to find a way of sending MT messages to subscribers from my perl script. My shortcode is 1111(EXAMPLE), and I have three messages I want to send. Obviously, when a user sends a message to my shortcode, they receive a first response; ButI need them to automatically receive the other two responses automatically via MT to allow for MT billing;

if my outResponse (outText) is
my $outText = "aaa";
createOutMsg($subscriberId, $administratorId, 'Text',$outText, $inMsgId, $VASPNumberId, $keywordId);

I call the function createOutMsg and pass these values; Trouble is I can't send two reponses to the same inMsgId using this function; hence the need for MT.

I use the below line to text my MT connections; So I need the same line to be used to send a message but within my processInMsgs perl script.

lynx -dump 'http://localhost:17002/cgi-bin/sendsms?user=1111coRe&password=coRe&to=phone&text=aaaaaaa'

Please help me out.