want to get a know-how sms can be sent from a programming language

csharp , vb.net , java United States
  • 12 years ago
    Hi all,I want to send SMS from some language,can anyone tell me the general procedure? sincerly
  • 12 years ago
    It's a bit different for each of the providers (Verizon, Sprint, AT&T, etc) so you may have to do some more research into it, but generally the process involves sending an email to a particular address. With Verizon, it's simply @vtext.com. (6785551234@vtext.com for example). Here's a simple way to do it: MailMessage msg = new MailMessage(); msg.To = "6785551234@vtext.com"; msg.From = "sender@website.com"; msg.Subject = ""; msg.Body = "This is a text message! Enjoy!"; SmtpMail.Send(msg); An elegant solution would be to create a simple class that builds the email address string based on the provider. Hope this helps!

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell