Simple, Free PHP Email to SMS Solution?
I think I found a way to get around not knowing a phone'开发者_StackOverflow社区s carrier when sending an sms message via email.
It is: just send the text to every single major email (there's 5 or 6).
Is there anything wrong with this? Would the carrier's block me eventually?
I wouldn't recommend that approach - the carriers do monitor their email and web gateways, and you'll certainly be blocked once you reach any significant volume.
If this is for a commercial project, there are pretty cheap solutions available to look up a carrier by phone number. Check out Neustar or Sybase 365 (disclaimer: I worked for Inphomatch/Mobile 365 before they were bought by Sybase) - there are others. It'll probably cost your a few cents per lookup and prices usually go down with volume.
精彩评论