"SenderName", "AWS.SNS.SMS.SMSType" => -6ren">
gpt4 book ai didi

php - AWS 社交网络服务

转载 作者:搜寻专家 更新时间:2023-10-31 20:58:24 25 4
gpt4 key购买 nike

$args = array(
"SenderID" => "SenderName",
"AWS.SNS.SMS.SMSType" => "Transactional",
"Message" => "Testing",
'PhoneNumber' => '+91xxxxxxxxx',
);

当我尝试使用扩展程序发送短信时,一切正常。

但是当我删除扩展程序时,没有弹出错误消息,我也没有收到消息。

Mobile Number = +919876543210

其中 +91 是分机号,后面是手机号码。

提前致谢。

最佳答案

您所指的扩展部分是强制性的

AWS SNS SMS 遵循 E.164 format .

您可以阅读更多here

来自上面的链接:

When you send an SMS message, specify the phone number using the E.164 format. E.164 is a standard for the phone number structure used for international telecommunication. Phone numbers that follow this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) and the country code. For example, a U.S. phone number in E.164 format would appear as +1XXX5550100.

关于php - AWS 社交网络服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50250666/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com