简体   繁体   中英

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()

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). When testing on my Verizon phone, I get the proper email address as the sender.

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."

To have better control over the SMS message, send the SMS message directly. For low volume, try Twilio SMS Service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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