简体   繁体   English

用户看到我的SMS消息来自“ 1010100001”

[英]users see my SMS messages as coming from '1010100001'

In my application, I ask the user to enter their cell and select their provider. 在我的应用程序中,我要求用户输入其单元格并选择其提供者。 I append the provider's email and create the message and fire via php.mail() 我附加提供者的电子邮件并创建消息并通过php.mail()触发

The problem is that no matter what the header info is, the message comes from '1010100001' on some phones (like AT&T and the iPhone). 问题是,无论标题信息是什么,该消息都来自某些电话(如AT&T和iPhone)上的“ 1010100001”。 When testing on my Verizon phone, I get the proper email address as the sender. 在Verizon手机上进行测试时,我将以正确的电子邮件地址作为发件人。

Any idea how I can send a clearer message? 知道如何发送更清晰的消息吗?

Your problem is that you're not actually sending SMS messages, you're sending email messages and then trusting the carrier's email-to-sms gateway to "do the right thing." 您的问题是您实际上没有发送SMS消息,而是在发送电子邮件,然后信任运营商的Email-to-sms网关来“做正确的事”。

To have better control over the SMS message, send the SMS message directly. 为了更好地控制SMS消息,请直接发送SMS消息。 For low volume, try Twilio SMS Service 对于低容量,请尝试Twilio SMS服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM