Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way to detect SMS to E-Mail Gateways?

Tags:

php

sms

gateway

I want to create a PHP app that can send text messages ; There are different gateways for different email carriers.

Is there any library I could use that would be able to lookup or detect which gateway to use just by passing the phone number into it? This way I can take whatever email address I get out and use PHP's email functions to send a message.

like image 257
Paul Avatar asked Nov 06 '22 15:11

Paul


1 Answers

There are companies that provide a lookup service, but it's generally not free (for example, we've used mBlox for this). There's no simple algorithm you can use, either, because of number porting and so on.

like image 63
Dean Harding Avatar answered Nov 15 '22 00:11

Dean Harding