Twilio Alphanumeric Sender id doesn't work from MS Access

心已入冬 提交于 2019-12-12 02:40:07

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!