Visit multiple URL's in loop in C#
<p>I am working on integrating a third party SMS application. The requirement is to send SMS to ten mobile numbers on <strong>single</strong> click of button on a web page at my site.</p>

<p>We have been provided with a URL in which we have to add a phone number and message to be sent. The URL accepts only <strong>ONE</strong> phone number at a time.</p>

<p>I have a list of phone numbers to which I have to send the same message one by one .
On looping through the list , I add a phone number to url and do <strong><code>Response.Redirect(url)</code></strong> in each iteration. </p>

<p>But this only ends up sending SMS to the first phone number in list as first time <strong><code>Response.Redirect()</code></strong> occurs , it takes browser to external site specified by the given Url and rest of for loop is not executed i.e rest of phone numbers are not embedded in url.</p>

<pre><code>string[] phNos = { "91999999998", "91999999996" ,"91999999995"}; // Sample Mobile nos.

for(int i=0;i&lt;phNos.Length;i++)
{

url = "baseurl/PushURL.fcgi?0&amp;mobileno=" + phNos[i] + "&amp;message="+ masg;

Response.Redirect(url);

}
</code></pre>

<p>I read about <strong><code>Server.Transfer()</code></strong> but this is can't be used for sending to external site.
Is my requirement feasible ? Please help how can I implement it .</p>
