Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I send SMS Messages from a C# Application?

I'm looking to build a program that would allow me to send SMS messages directly from the C# Application. I intend to build an 'Automatic Appointment Reminder' system that would automatically send SMS messages to recipients' mobile phones notifying them of their upcoming appointment.

Could anyone advise on how I would implement this type of feature as I have no experience in 'Mobile Communications' and mobile connectivity with desktop applications.

My carrier is EE (If that helps?)

like image 955
Lloyd Avatar asked Jul 06 '15 12:07

Lloyd


People also ask

Can I sms from my computer?

Then email, your wireless carrier website, iMessage/Android Messages, and Google Voice are all great options for sending text messages from your computer. These tools all work for sending personal 1-on-1 text messages.

Can I text from my computer for free?

You can still text away with a computer via WiFi. Texting from a laptop has its perks: it's (usually) free, typing is easier and faster, and best of all, you can look busy when you're not.


1 Answers

Most major carriers offer an email to text service. The program can use email to send an SMS message. For example:

Send an email

var message = new MailMessage();
message.From = new MailAddress("[email protected]");

message.To.Add(new MailAddress("[email protected]"));//See carrier destinations below
//message.To.Add(new MailAddress("[email protected]"));

//message.CC.Add(new MailAddress("[email protected]"));
message.Subject = "This is my subject";
message.Body = "This is the content";

var client = new SmtpClient();
client.Send(message);

Carrier destinations

  • ATT: Compose a new email and use the recipient's 10-digit wireless phone number, followed by @txt.att.net. For example, [email protected].
  • Verizon: Similarly, ##@vtext.com
  • Sprint: ##@messaging.sprintpcs.com
  • TMobile: ##@tmomail.net
  • Virgin Mobile: ##@vmobl.com
  • Nextel: ##@messaging.nextel.com
  • Boost: ##@myboostmobile.com
  • Alltel: ##@message.alltel.com
  • EE: ##@mms.ee.co.uk (might support send without reply-to)

Alternatives

  • There are vendors that provide SMS messaging service via an API
like image 74
P.Brian.Mackey Avatar answered Sep 27 '22 16:09

P.Brian.Mackey