使用 API 的 SMS 发送器应用程序
我想制作一个程序,与包含姓名、手机号码等的数据库进行通信,并通过服务提供商提供的 HTTP API 在不同场合向它们发送 SMS 消息。我希望数据库和应用程序在外部服务器中运行,并每天通过名称列表发送消息。请让我先了解什么是合适的编程语言/数据库以及我可以在哪里托管我的应用程序。我可以通过服务提供商有的 HTTP 请求发送短信
谢谢!
I want to make a program that will communicate with a database that has name, mobile number, etc. and send them SMS messages in different occasions through HTTP API provided by a service provider. I want the database and the application to be running in an external server and go through list of names every day to send messages. Please give me a head start on what would be an appropriate programming language/database and where can I host my application. I can send SMS through HTTP request that the service provider has
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
LAMP 堆栈非常易于访问(Linux/Apache/MySQL/PHP),并且您可以使用一些简单的 PHP 脚本和 cron 作业来完成您所描述的内容 - 假设您只需要每天发送一次消息。
如果您的消息也被安排在特定的时间,那么明智的做法是迁移到内存中持久存在的堆栈 - 因为它可以比 PHP 的单一请求模型更轻松地连续检查计划。也许 node.js 如果这是你需要的,Javascript 也很容易访问。
A LAMP stack is pretty accessible (Linux/Apache/MySQL/PHP), and you could accomplish what you describe with a few simple PHP scripts and a cron job - assuming that you just need to send messages once a day.
If your messages are also scheduled for specific times, then it might be wise to move to a stack that persists in memory - as it could continuously check the schedule more easily than PHP's single request model. Perhaps node.js if this is something you need, Javascript is also pretty accessible.
我会使用我最熟悉的编程语言。由于应用程序很简单,一个简单的 .csv 文件可能就足够了,除非您有 >发送至 5000 个号码。个人使用 GleSYS VPS 来托管我的 SMS 应用程序,我使用 46elks SMS AIP 来发送短信,这个组合对我来说非常有用。如果您的需求很少,您可以尝试使用 Raspberry PI。
我使用 Python 或 PHP 来实现大多数小功能。
I would use the programming language that i´m most familiar with. Since the application is simple a simple .csv file would probaly enough unless you have > 5000 numbers to send to. Personally a use GleSYS VPS for hosting my SMS applications and i use 46elks SMS AIP to send SMS this combination woks very well for me. If you have very little demands you may try to use a Raspberry PI.
I use Python or PHP for most smal funcation.