I have a Delphi 5 program to send to a HTTP site 1 line of text to SMS selected mobiles using WebBrowser1

Due to the 164chr restriction I have to send a number of records
I loop through and send 1 at a time using WebBrowser1.Navigate(WebAddress) then WebBrowser1DocumentComplete
and timer1 when WebBrowser1DocumentComplete is triggered I then set timer1.enabled to True then
send the next one WebBrowser1.Navigate(WebAddress) webaddress is a string field containing
the examples below


1.. 'http://gateway.sitename.com.au/sendSMS?UserName=kevin&Password=test10&Recipient=0478111111&Message=This%20is%20a%20message&Sender=0438212142'
2.. 'http://gateway.sitename.com.au/sendSMS?UserName=kevin&Password=test10&Recipient=0478222222&Message=This%20is%20a%20message&Sender=0438212142'
3.. 'http://gateway.sitename.com.au/sendSMS?UserName=kevin&Password=test10&Recipient=0478333333&Message=This%20is%20a%20message&Sender=0438212142'

But the program only sends the last one, Is this a problem in the program
If so what can I do to send each SMS singulary  

or it it a problem with the SMS Supplier
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel PASQUIERFreelance Project ManagerCommented:
check that you disable the timer after the timer event is triggered to be sure it won't interfere with the next DocumentComplete

try with a big Interval (like 10000 for 10s) to be sure that even if you let ample time it does not work. Or that it does.
That will help you knowing where the pb comes from.
KevinfeeningAuthor Commented:
Hi the timer1 is set to 10000
the webaddress string shows the different SMS Numbers but only the last one of the three is sent
the other 2 are overwrittten I think

procedure TForm1.Timer1Timer(Sender: TObject);
  timer1.enabled := false;
Emmanuel PASQUIERFreelance Project ManagerCommented:
are you sure you have not a limit using this service, that prevent you to send too much SMS ? try with 60000 (1 minute delay) or even worse

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KevinfeeningAuthor Commented:
There was a problem with the SMS Supplier thats why the 10 sec delay wasn't working now OK

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.