Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8644369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:16:38+00:00 2026-06-12T12:16:38+00:00

I am working on integrating a third party SMS application. The requirement is to

  • 0

I am working on integrating a third party SMS application. The requirement is to send SMS to ten mobile numbers on single click of button on a web page at my site.

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 ONE phone number at a time.

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 Response.Redirect(url) in each iteration.

But this only ends up sending SMS to the first phone number in list as first time Response.Redirect() 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.

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

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

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

Response.Redirect(url);

}

I read about Server.Transfer() but this is can’t be used for sending to external site.
Is my requirement feasible ? Please help how can I implement it .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:16:39+00:00Added an answer on June 12, 2026 at 12:16 pm

    Response.Redirect redirects the users browser to the given URL, as you found out.

    What you want to do is to have your server access the URL(s) needed, using server-to-server communication. You can use WebClient to easily do this.

    var cli = new System.Net.WebClient();
    for(int i=0;i<phNos.Length;i++)
    {
        url = "baseurl/PushURL.fcgi?0&mobileno=" + phNos[i] + "&message="+ masg;
        cli.DownloadString(url);
    }
    

    Note that this will retrieve the urls, effectively calling the API, sequentially and synchronously, which might not be what you want. If you want to do it in parallel, you can use DownloadStringAsync on WebClient, but you will need to code a mechanism that lets you wait until all the requests finished. This depends on what you want, how many numbers there might be, and your performance constraints.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on integrating Terracotta web sessions into our application architechture. Everything is
OK, I'm working with a third party web API that uses web hooks to
I am working on integrating Google Maps into a web application and I have
I am working on integrating Assetic into an application that I am building. The
I'm working on a project that relies on integrating with SMS/MMS messaging aggregator companies
I'm working on a small application and thinking about integrating BLAST or other local
I'm integrating the Facebook Like Button into a site. The likeing functionality is working
I'm integrating Gigya with a web app running Acegi. I have it working that
I am working on integrating the social network vkontakte into my desktop application using
I'm thinking of integrating a chat inside an already written and working php application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.