问题
I am using Devin Rader's VBA code to send SMS from MS Access, and it works fine.
But Alphanumeric Sender Id (as specified in the FAQ/Doc, all one needs to do is to replace FromNum with the Id (<=11 chars)) only works for me when I do it from Twilio API Explorer.
From MS Access, I end up with error 21212 ("Invalid 'From' Phone Number".
回答1:
Twilio evangelist here.
Sounds like you might be calling the older /SMS endpoint which does not support SenderID instead of the newer /Messages endpoint which does. I've posted a set of updated code that uses the newer endpoint in GitHub:
https://github.com/devinrader/CallYourSpreadsheet/blob/master/Access/Exported/Twilio.bas
Hope that helps.
来源:https://stackoverflow.com/questions/34061325/twilio-alphanumeric-sender-id-doesnt-work-from-ms-access