How to send bulk SMS with twilio API [closed]

旧城冷巷雨未停 提交于 2019-11-30 22:48:29

SMS and MMS Quickstart Tutorial

This sample is using a dictionary to send messages to group of people, see at following sample code in above link.

// make an associative array of people we know, indexed by phone number
    var people = new Dictionary<string,string>() { 
        {"+14158675309","Curious George"},
        {"+14158675310","Boots"},
        {"+14158675311","Virgil"}
    };

More Over as You have mentioned BULK Messaging I would like you to have a look at their policy of Do's and Dont's also at this link

and look for section Sending mass marketing or bulk messaging using Twilio long code phone numbers

Have a look at

Yes and no, yes you can send 'batch' MMS by iterating thru a list of numbers you want to send to, but if you plan on sending a lot, you are going to want to lease a short-code (for about $1000/month) in order to qualify for the higher sending limits.

With a regular number you can send at most one message per second. With a shortcode, you can up that to 30 messages per second.

You might be able to get away with low-level 'bulk' sms on a regular twilio number, but don't be surprised if you get shut down if you are spamming or violating the terms of use (see Boosters post above for the link).

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