More specifically, it varies by carrier legacy system. Finding the correct email-to-SMS address construction (usually some variant of phonenumber@domain.tld) may take some poking around, and it's not uncommon for the domain.tld portion to refer to some prior carrier acquired by the nominal provider (e.g.: your AT&T wireless number might have a cingular.com address, though don't quote me on that).
That said: it typically works and is fairly reliable once you've identified your gateway.
In the US, does number portability between networks exist? In NZ, it causes problems with SMS gateways, which seem to (in general) naively use the prefix as the sole means of identifying which operator for a number.
I'm fairly certain Google requires you enter a confirmation code when setting up a phone number (the code is sent via SMS to the phone) for specifically this reason. It's not as though this is the only piece of software using the Calendar API; Google has already had to think of these potential exploits.
This seems to be using a hack I also figured out back when I was in high school, working on a project. I also wrote about it years later on my blog[0]. If you look at the source it creates an event with an sms remainder but the time of the event and the scheduled time of the remainder are created in such way that the remainder is sent immediately. There's also a low limit on the number of characters you can use (~60).
37 comments
[ 0.22 ms ] story [ 73.3 ms ] threadMore specifically, it varies by carrier legacy system. Finding the correct email-to-SMS address construction (usually some variant of phonenumber@domain.tld) may take some poking around, and it's not uncommon for the domain.tld portion to refer to some prior carrier acquired by the nominal provider (e.g.: your AT&T wireless number might have a cingular.com address, though don't quote me on that).
That said: it typically works and is fairly reliable once you've identified your gateway.
http://en.wikipedia.org/wiki/List_of_SMS_gateways
EDIT: http://brettterpstra.com/2010/11/19/sms-from-the-command-lin...
echo 'hello world' | mail -s "message" <number>@cingularme.com
That is why this is interesting.
AT&T, Verizon, Sprint, T-Mobile etc. If you want to text somebody else, you'll have to figure out their carrier first though. :(
Is their a way determine their carrier without asking?
http://cl.ly/image/1l1g071h1d0C
You can create an unfunded account with them and use the lookup feature, if I'm not mistaken. (Though I don't recommend doing so, it's not nice!)
http://www.nanpa.com/reports/reports_cocodes_assign.html
However, sometimes the companies listed are subsidiaries and you can't tell the 'major' cellular provider for someone at a particular number.
I doubt that the volume of API requests originating from this script would generate even a blip on Google's radar.
This Google doc script monitors your websites and sends an SMS to alert you when down. It uses the same "Calendar->SMS" feature.
[0]: http://www.randomshouting.com/2011/02/06/Free-SMS-notificati...