How to send SMS?  
Author Message
bslim





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Hi all,

I would like to know how to send SMS from my application. Does sending of SMS concept is the same as sending of email I had tried sending of email without any problem.

I had reused the code from sending of email but seems that it don't work. Please help.

System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();

message.To.Add(SMStoAddress);

message.From = new System.Net.Mail.MailAddress(SMSfromAddress);

message.Body = "This is a test";

System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(SMSHost);

smtp.Send(message);



.NET Development9  
 
 
bslim





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

According to my administrator, to send sms, I had to send as email to a SMS gateway.
 
 
Kalagara





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Your Administrator is right to a certain extent! But first you need to buy a license from the service supplier (SMS Gateway)! Method of transmitting messages varies from Supplier to Supplier. These days many suppliers providing sms services through Web Services. Sending messages to Gateways through Email (using parsing) is OLD FASHIONED!. Check the follwoing website, might help - http://www.textanywhere.net

If you don't want to pay for sending text messages, you need to develop your own SMS Gateway - worth reading material on SMPP & MMAP protocols.


 
 
Sergey Galich





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Hi!

Did you solve your problem Can you post here solution if any

As far as I know you need to use some SMPP client protocols, but I can't obtain even it's specs from SMS Forum (which issue it).



 
 
Sibusiso





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Hi

The following links will be helpfull :-

 
 
Sergey Galich





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Thanks for links! I look at them and see that they works for specific providers, that have translation between mail, web forms or web services to SMPP internally.

I need real SMPP implementation 3.4 at least, 5.0 at best. I managed to get this specs at last and on the way to complete SMPP component that can be used as SMSC or ESME end point. If anyone interested in such component - let me know.



 
 
Glenn Wilson





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

To send sms messages you have several options but they will cost you, there is no free way to do it in bulk. Off course you could find some free provider but they will be limited in the range of providers you can send to, or the ammount of messages you can send... You will need to look into it.

Some of the ways that you can do it is off course find an email to sms provider, or you could also buy your self a gsm modem and talk directly to it using the standard Hayes commands. Another option is to talk to the telco providers as you may find that some of them either have a web service or raw TCP connection that you can tap into.

Personally I have used several of the methods, but for a small solution I have used an old nokia phone with a prepaid SIM inside then use a data cable conected to my server. Then using the standard hayes commands talk directly to the modem built into the Phone.



 
 
wls1973





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

kindly provide me some useful info about "using the standard hayes commands talk directly to the modem built into the Phone".

Thanks very much.


 
 
snymanr





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

Sergey

I have been looking for such a component.

Can you help me please

Regards

Riaan


 
 
Malnus





PostPosted: .NET Framework Networking and Communication, How to send SMS? Top

I read your post. I am interested to build my own SMS / MMS gateway. I am interested to know

*** How to develop it

*** what software and hardware shall I need

I have little experiecne of working in .Net. But, I want to develop it in VB.Net.

Thanks for your cooperation.