I need to send an OTP authorization code to verify a user's phone number. For testing, I've been using an e-mail sent to a phone number via AT&T's gateway but I don't want this app to be limited to AT&T customers only so I'm looking for a better solution.
It occurred to me that perhaps I could use iMessage for this instead, as long as the user has their phone number setup in their iMessage account. The question is, is there an e-mail address I could send to like I do with AT&T such as 5551234567 @ imessage.com?
I do not want iMessage to open on the user's device. That would defeat the entire purpose. I am trying to figure out a way to send an e-mail to user's phone number that is already setup in iMessage on their device/account.