Sending sms using ASP.NET

Posted on 2010-08-23
Last Modified: 2013-11-08

I am creating a web application from which I can send sms.

I have 2 queries regarding this.

1) Is there any commercial packages which gives sms and are compatible with should be economical :)
2) If I got one then how can I use it in my application.

Karan Gupta
Question by:KaranGupta
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 33499551 is the bes ive encountered. You can see some example codes to send SMS here:

or you can send a POST or GET query to with the following values:

    A flag to switch on/off debug information.
    View debug information.

    If set to 1, this will return 'info' in JSON format.

    This is the test mode. If test=1 then messages will not be sent and credits will not be deducted.

    The text message body. This can be up to 612 characters in length. A single message is 160 characters, longer messages are 153 each (2=306,3=459,4=612). You can insert any merge data into this message from your database before submitting to Txtlocal. To insert a newline character use %n.

    The "From Address" that is displayed when the message arrives on handset. Can only be alpha numeric or space. Min 3 chars, max 11 chars.

    Your username.

    Your password.

    A comma separated list of international mobile numbers. Each number must be PURELY numeric, no + symbols or hyphens or spaces. The numbers must start with the international prefix. In UK this would be 447xxxxxxxxx. View international prefixes.

    This is not mandatory. If set, you can send a WAP PUSH (mobile internet bookmark) to a mobile phone. Simply set to a valid url.

    This is not mandatory. If set, you can record a custom ID against the the message batch, which will be passed back in the delivery receipt.

    This is not mandatory. If set, you can send to a precreated group. You can get the required group ID from the REPORTS section of the control panel. Duplicates and optouts will be removed.

    This is not mandatory. Alternate receipt URL. Instead of using the receipt URL in the Txtlocal Account Settings, receipts will be sent to this URL.

    This is not mandatory. The scheduled message date/time. In the format YYYY-MM-DD-HH-MM-SS (e.g 2008-03-28-14-56-00). Scheduled messages can be viewed and deleted via your Txtlocal online account.

    This is not mandatory. The time at which you wish the message to expire if it has not been received by the phone (i.e. Phone out of signal range or turned off). In the format MMDDHHmm (It cannot be greater than 48hours in the future).

Heres the price list for pre-buying SMS credits.

Accepted Solution

TheCobraSnake earned 500 total points
ID: 33499557

you can use a sms-sender in ASP.NET.  Find more @ the following page:

I hope to help you with that

Author Comment

ID: 33499571
Hi TheCobraSnake

Can I use it for any professional purpose. or do I need permission for that.

Karan Gupta

Expert Comment

ID: 33520742
according to their document provided with this component:

"This component is free to download and use. You can distribute this component with your own SMS enabled applications"

So I think that, correct me if I'm wrong, you can use it.

The best is maybe to contact them to be sure?

Author Closing Comment

ID: 33529979

I have contacted them. According to them I can use this dll for the commerical purpose as well.

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question