SMS Gateways and Instant Messenger APIs for .NET
Mobile Phone Text Messages
I've been implimenting instant messaging alerts for assignment due dates. I first looked up the addresses for email-to-SMS for phone messages. I found this short page and this complete listing. Here are the most important North American mobile providers:
- T-Mobile: firstname.lastname@example.org
- Virgin Mobile: email@example.com
- AT&T: firstname.lastname@example.org
- Sprint: email@example.com
- Verizon: firstname.lastname@example.org
- Nextel: email@example.com
- MetroPCS: firstname.lastname@example.org
If you don't know which provider a person uses, then you can send a message to email@example.com and it will be sent directly to the person (with a link to www.teleflip.com).
Update: Using the area code and prefix, you can look up the original "owner" of the prefix. The NANPA has a great site (there is also http://fonefinder.net/). The only problem is that with number portability, you cannot be that a number is still with the original provider. We moved from Sprint to Cingular and the NANPA shows our prefix as belonging to Sprint.
For IM, there are several great, open source libraries available for sending messages through the various IM providers using .NET. Here's what I've found so far. Most are written in C# and most are free to use, but I've listed a few commercial and/or Java libraries.
- Fluent.Toc – http://www.fluentconsulting.com/components/Fluent.Toc/
- DotToc – http://sourceforge.net/projects/dottoc/
- JAIM (Java library) – http://jaimlib.sourceforge.net/
- I still haven't found one
- ICMP Library (sketchy) – http://www.geocities.com/carlos_barcenilla/ICMPLibrary/
- All-in-one (proposed)
- HiChat (.NET 2.0) – http://sourceforge.net/projects/hichat
Most of these libraries are event driven and require that you create a messenger object and wait for some kind of OnConnect event before sending a message.