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 8756725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:08:30+00:00 2026-06-13T14:08:30+00:00

I would like to send sms messages using C# code. For that, I am

  • 0

I would like to send sms messages using C# code.
For that, I am using the ‘clickatell sms Gateway’.
Would anyone be able to help me with this?

  • 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-13T14:08:31+00:00Added an answer on June 13, 2026 at 2:08 pm

    From their site, C# Scripts

    using System.Net;
    using System.IO;
    WebClient client = new WebClient ();
    // Add a user agent header in case the requested URI contains a 
    query.
    client.Headers.Add ("user-agent", "Mozilla/4.0
     (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR
    1.0.3705;)");
    client.QueryString.Add("user", "xxxx");
    client.QueryString.Add("password", "xxxx");
    client.QueryString.Add("api_id", "xxxx");
    client.QueryString.Add("to", "xxxx");
    client.QueryString.Add("text", "This is an example message");
    string baseurl ="http://api.clickatell.com/http/sendmsg";
    Stream data = client.OpenRead(baseurl);
    StreamReader reader = new StreamReader (data);
    string s = reader.ReadToEnd ();
    data.Close ();
    reader.Close ();
    return (s);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a Rails application and would like to send/receive text messages through my
I would like to send SMS and Email via my C# code. How can
I send SMS alerts to my mobile phone using Twilio; I would like to
I would like to know if someone knows why I can't send sms with
I would like to send a html string with a GET request like this
I have completed my program and would like to send that program in its
Can I intercept SMS messages on the iPhone? I would like to intercept messages
I am using MFMessageComposeViewController to send messages. I use canSendText before sending the SMS.
I have just created a cool app that work with SMS. I would like
I am trying to write a small program using Qt to send SMS messages

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.