SMS application

I want to develop an sms application in C # .net.

So please help me by telling me how to create such an application from scratch.

+1
source share
3 answers

It would be best to get an account with a cheap SMS / Voice provider. I use Twilio for a ton of free time. Their service works great, and it's really cheap ($ 1 per month for a unique phone number and $ 0.03 for an SMS message). Another Tropo service. They charge more per month for a phone number, but less for each message.

Twilio also provides a C # open source API wrapper .

+4
source

I used the ActiveExprerts SMS and MMS Toolkit, they have a good example of how you develop material from it, and supports many GSM modems, mobile phones and SMPP SMSC. If you need more help, I have an old project that I implemented, but its in VB. Try it and let me know it at http://www.activexperts.com/xmstoolkit/

+1
source

I would suggest that you should go to a free service provider, i.e. way2sms or 160by2

Download the full source code here.

To do this, you can integrate Api for this in your application.

Here is the code

http://alfasms.alfredfrancis.in/?uname=YOUR_USERNAME&pass=YOUR_PASSWORD&to=YOUR_RECEPTIANT&mess=YOUR_MESSAGE&gateway=YOUR_GATEWAY

>> Where YOUR_USERNAME your way2sms/160by2/fullonsms/sms440/site2sms USERNAME(ie mobile number) >>Where YOUR_PASSWORD your way2sms/160by2/fullonsms/sms440/site2sms PASSWORD. >> Where YOUR_RECEPTIANT is to which number you want to send SMS. >> Where YOUR_MESSAGE is the message you want to send. >> Where YOUR_GATEWAY is way2sms/160by2/fullonsms/sms440/site2sms. string connectionString = "<a href="http://alfasms.alfredfrancis.in/?uname=YOUR_USERNAME&pass=YOUR_PASSWORD&to=YOUR_RECEPTIANT&mess=YOUR_MESSAGE&gateway=YOUR_GATEWAY">http://alfasms.alfredfrancis.in/?uname=YOUR_USERNAME&pass=YOUR_PASSWORD&to=YOUR_RECEPTIANT&mess=YOUR_MESSAGE&gateway=YOUR_GATEWAY</a>"; try { System.IO.Stream SourceStream = null; System.Net.HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(connectionString); myRequest.Credentials = CredentialCache.DefaultCredentials; HttpWebResponse webResponse = (HttpWebResponse)myRequest.GetResponse(); SourceStream = webResponse.GetResponseStream(); StreamReader reader = new StreamReader(webResponse.GetResponseStream()); string str = reader.ReadLine(); } catch (Exception ex) { } 
0
source

Source: https://habr.com/ru/post/1285805/


All Articles