我们需要通过我们的项目测试短信文本通知,这是在PHP中实现的。我们已经使用了电话号码与运营商网关相结合。例如,7-11Speakout (USA GSM)有一个网关邮件,所以在发送短信时,我们将号码与网关合并为9860112354@@cingularme.com,并通过PHP的@cingularme.com函数发送此邮件。
现在我们需要在我们的手机上测试一下。然而,我们无法找到相同的运营商网关列表(诺基亚6300)。请给我建议。
发布于 2010-03-10 16:32:33
您是否正在寻找一个运营商的电子邮件到短信地址的列表?比如#@tmomail.net?
如果是这样,下面是一个详尽的列表:
http://www.mutube.com/projects/open-email-to-sms/gateway-list/
发布于 2014-07-24 00:40:22
我也有这个问题。运营商网关列表,由另一个答案发布-与设备无关,而是必须与其服务提供商到期。你需要做的是找到运营商,然后把它的电子邮件发送到短信地址,建立你的邮件发送到的电子邮件地址。这样的列表可以在维基百科上找到。
为了获得蜂窝设备的运营商和服务提供商,这里有一个简单的函数,它将在提供手机号码时提供手机的运营商名称:
<?php
// leave this blank - we may never implement an authentication key
$smsarc_API_key = '';
// enter the user's 10 digit cell phone number.
// example format: $smsarc_to = '5556667777';
$smsarc_number = '5192097991';
// lookup carrier
$ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://www.smsarc.com/api-carrier-lookup.php?sa_number='.$smsarc_number); $AskApache_result = curl_exec ($ch); $smsarc_message_status = $AskApache_result; curl_close($ch);
// print the carrier lookup results
echo $smsarc_carrier;
?>开发者应用编程接口,来自他们的网站:http://www.smsarc.com/free-php-cell-phone-carrier-lookup/
https://stackoverflow.com/questions/2415317
复制相似问题