开发者

Sending SMS in automated batches AND through web-interface

开发者 https://www.devze.com 2023-04-12 18:19 出处:网络
This is more about the design/efficiency of the application rather than the syntax - I need to create a process that sends a batch of texts that will be run on a scheduler (automated batches), but I a

This is more about the design/efficiency of the application rather than the syntax - I need to create a process that sends a batch of texts that will be run on a scheduler (automated batches), but I also need to allow an admin to send a batch manually (manual batch) or individual SMS messages (triggered). My initial thought was to开发者_运维问答 build a server-side console application that can be executed with parameters to handle the sending of all texts, but I'm not positive if this would be the best option. I'm a bit worried about conflicts arising with multiple instances of the console app running (which I would obviously need to code for). Any suggestions on the best way to tackle this?

The batches will process one at a time in a loop, which will post the message to the operator (Twilio) and log the message in our database as sent.


It probably depends on your operator. This one has quite a lot of tech samples and docs.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号