如何使用 Mysql 命令调用应用程序

发布于 2024-09-07 13:17:48 字数 40 浏览 2 评论 0原文

我正在编写一个触发器,其中我需要使用 MySQL 调用外部应用程序

I am writing a trigger, in which i need to invoke the external application using the MySQL

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

留蓝 2024-09-14 13:17:48

看了你的评论,反应很明显。
用您最擅长的语言编写程序。该程序需要

  1. 读取所有电子邮件地址
  2. 在列表上迭代
  3. 在每次迭代中发送一​​封邮件

如果您保证不使用它发送垃圾邮件,我可以为您提供一个基本的 PHP 脚本来执行此操作

Looking a your comment, the response is obvious.
Write a program in whichever language you dominate the best. That program needs to

  1. Read all email addresses
  2. Iterate on the list
  3. Send a mail in every iteration

If you promise not to use it for sending spam, I can give you a basic PHP script to do that

岁月流歌 2024-09-14 13:17:48

我建议让外部应用程序请求用户列表,然后循环列表并发送电子邮件。没有真正的理由将两者混合在一起。

I would suggest having the external application request the list of users, and then looping through the list and sending the email. There's no real reason to mix the two.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文