java用于kannel交付报告

发布于 2024-10-10 10:09:40 字数 64 浏览 0 评论 0原文

我已经成功编写了一个用Java通过kannel发送短信的类。但我在编写交付报告类时遇到了很大的问题。知道怎么写吗?

I have successfully written a class for sending SMS over kannel in Java. But I have big problems to write a delivery report class. Any idea how to write it?

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

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

发布评论

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

评论(1

苍风燃霜 2024-10-17 10:09:40

Kannel 将按照您在短信提交中的 dlr-url 参数中指定的 URL 向您发送送达报告,例如 example.com/DLR?outgoing_id=123&status=%d

你用什么语言编写它并不重要。您所需要的只是一个通过 HTTP GET 接受特定参数的 HTTP 页面。 Kannel 将添加传递状态、时间等参数,您将通过上面的 ID 将它们链接到您的 SMS 提交。

此讨论有一个明显的例子。

Kannel will send you back the delivery reports in the url you specify in the dlr-url parameter in the SMS submission, for example example.com/DLR?outgoing_id=123&status=%d.

What language you write it in is irrelevant. All you need is an HTTP page that accepts specific parameters via HTTP GET. Kannel will add parameters for the delivery status, time, et al, and you will link them to your SMS submission via its id as above.

This discussion has a clear example.

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