Community discussion forum

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

  • 1 year ago
    Hi all,I want to send SMS from some language,can anyone tell me the general procedure? sincerly
  • 1 year 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).

Want to stay in touch with what's going on? Follow us on twitter!