Stupid cell phone tricks

Freshness Warning
This blog post is over 16 years old. It's possible that the information you read below isn't current and the links no longer work.

For a project I’m working on we need to send text messages to mobile phones. We could buy or rent an SMS gateway, but most carriers in the US allow you to email a message to yourphonenumber@yourcarrier and it will appear as a text message on the phone. For example, my phone is currently with AT&T so you can send a short email to 9166002497 AT mobile.att.net and it will show up on my phone.

The problem is figuring out what carrier the phone number is at so you can append the correct hostname to the email address. John Wehr pointed out Teleflip, a service that lets you send email to yourphonenumber@teleflip.com and have it delivered to the phone, regardless of carrier. That’s dandy, but I don’t want to rely on some free, third party service that might change or go away later.

After spending some time looking for a way to determine the phone’s carrier, it hit me: I don’t really care what carrier they’re using. If I send the message to the incorrect carrier, it won’t get delivered to the wrong person because phone numbers are unique. It will just bounce. So if I wanted to send a message to 212-555-1212, I could just send a text message to 2125551212@mobile.att.net, 2125551212@messaging.sprintpcs.com, 2125551212@messaging.nextel.com and so on. Send to them all and ignore the bounces. Based on the bounces, you could even learn which carrier someone’s using and just send to that one in the future.

It’s not terribly polite to send email that you know is going to bounce, but it’s not a huge load on the servers and you’d only do it once for each new number.

John
May 5, 2008 11:50 AM

already thought about this, however, if teleflip can do it there's gotta b a way. contact [at] johncaza [dot] com if you have any suggestions!! John

Anna
May 30, 2008 1:26 AM

To text Verizon users, send msg to [10-didgit phone number]@vtext.com. Message length is limited to 160 characters, including the email address. Answer comes from Verizon: https://text1.vzw.com/text/jsp/text_messaging_faq.jsp#howdoisendtxtmsgfromemail

Anna
May 30, 2008 1:26 AM

To text Verizon users, send msg to [10-didgit phone number]@vtext.com. Message length is limited to 160 characters, including the email address. Answer comes from Verizon: https://text1.vzw.com/text/jsp/text_messaging_faq.jsp#howdoisendtxtmsgfromemail

Travis McCrea
June 6, 2008 2:17 AM

If I may suggest: Have a drop down box with the different carriers that you have known email addresses for... then... once they select it... you already have it because $carriermail = $carrierselect or whatever you call them... It would cut your server load down a lot

Becca
August 19, 2008 9:52 PM

Someone has been sending my fiance dirty videos, pictures, etc. and he won't tell me who it is. We are going through t-mobile and I can't figure out how to pull up the text message history. Can you please Help!

Pamela
September 18, 2008 9:23 PM

I always have to block this guy that beat me badly ,,he went to jail,,and got out ,,we knew all the same people and he manages to get my number always ,,he calls private # ,,and he makes me cry ...if I could make him change his number which he never knows what that feels like ,,to pay big money to get rid of someone,,,maybe someone can find a way to make him do this ,,,god bless you if you can ,,I have Chemo treatments am sick and he still knows I am not well and does this ..his number [REDACTED personal info]

Rob Greer
November 10, 2008 9:09 AM

It find it ironic that the comment above from "Guy" in Jan 2005 states that teleflip isn't "going anywhere" but teleflip.com went out of business in 2008. Is there still not solution to this problem? My Google searches are getting me nowhere fast.

Jeff Kitchen
December 30, 2008 9:10 AM

mynumber@mobile.att.net did NOT work. mynumber@txt.att.net did work.

lex
February 20, 2009 1:50 AM

Rob Greer I was try to solve this problem by doing what they call "scrapping a web page" using Python programming language. I thought I could use this URL. http://www.whitepages.com/search/ReversePhone?full_phone=2125551212&localtime=survey But they stopped giving out the carrier info when I tried to scrape it from the page. If anyone can find me a service that has the phone number in URL then I finish writing the code and share with everyone. If anyone can find me a service that has the phone number in URL then I finish writing the code and share with everyone. I really think teleflip migh have just sent the message to all the carriers. I wrote a script to do that already. You can get the source from this location. http://forums.debian.net/viewtopic.php?t=32287

Hamy
May 25, 2009 4:10 PM

Adam, I used the same thought process for my app, but it turns out that some ported numbers will end up receiving the message multiple times! For instance, sending to myself results in 3 separate messages! Also, wtf is up with all the people talking about relationships in the comments?

Steven
July 25, 2009 10:59 AM

for at&t the addresses are number@mms.att.net (MMS) & number@txt.att.net (Text)

Juanita
October 29, 2009 7:47 PM

Does anyone know how to send free text messages to Saudi Telecom (Aljawal) mobile phone customers?

Shelley
December 8, 2009 1:15 PM

I want to access pic texts that came to me and were lost. My bill shows me the internet address.How Can I look at and save these texts/pics?example 902-000-000@ intersurf.light.net.Can someone tell me how to do this?

Christy
December 21, 2009 11:19 PM

What is the addy for Bluegrass Cellular

Marc
April 11, 2010 7:41 PM

My company, Vocalogic, offers a service to look-up phone numbers and return the carrier and, if it's a wireless phone, the proper email addresses for sending SMS and MMS (picture text) messages. It costs half-a-cent per lookup.

These are the last 15 comments. Read all 139 comments here.

This discussion has been closed.

Recently Written

The Trap of The Sales-Led Product (Dec 10)
It’s not a winning way to build a product company.
The Hidden Cost of Custom Customer Features (Dec 7)
One-off features will cost you more than you think and make your customers unhappy.
Domain expertise in Product Management (Nov 16)
When you're hiring software product managers, hire for product management skills. Looking for domain experts will reduce the pool of people you can hire and might just be worse for your product.
Strategy Means Saying No (Oct 27)
An oft-overlooked aspect of strategy is to define what you are not doing. There are lots of adjacent problems you can attack. Strategy means defining which ones you will ignore.
Understanding vision, strategy, and execution (Oct 24)
Vision is what you're trying to do. Strategy is broad strokes on how you'll get there. Execution is the tasks you complete to complete the strategy.
How to advance your Product Market Fit KPI (Oct 21)
Finding the gaps in your product that will unlock the next round of growth.
Developer Relations as Developer Success (Oct 19)
Outreach, marketing, and developer evangelism are a part of Developer Relations. But the companies that are most successful with developers spend most of their time on something else.
Developer Experience Principle 6: Easy to Maintain (Oct 17)
Keeping your product Easy to Maintain will improve the lives of your team and your customers. It will help keep your docs up to date. Your SDKs and APIs will be released in sync. Your tooling and overall experience will shine.

Older...

What I'm Reading

Contact

Adam Kalsey

+1 916 600 2497

Resume

Public Key

© 1999-2021 Adam Kalsey.