KRL:我可以使用 email:forward() 发送电子邮件吗?

发布于 2024-10-29 15:28:56 字数 866 浏览 3 评论 0原文

我正在尝试从我的 Kynetx 分机发送电子邮件。作为测试运行,我设置了此规则:

 rule first_rule {
    select when pageview ".*"    
    email:forward() with
    to = "[email protected]" and
    message = "Testing Kynetx Mail" and
    htmlmessage = "<html><body><p>Jed has html</p></body></html>";
    notify("Testing", "email sent");
  }

通知显示,但我从未看到电子邮件,甚至在垃圾邮件过滤器中也没有看到。也许 email:forward() 只能在 ? 的上下文中使用

select when mail received

作为替代方案,我想我可以使用类似 PostMark 的服务之一,或者可能是 SNS ( http://wiki .kynetx.com/pages/Kynetx_Network_Services_(KNS)_API#SNS_Endpoint)。我只是觉得将所有内容都保存在 Kynetx 中会很好。

I'm trying to send an email from my Kynetx extension. As a test run, I set up this rule:

 rule first_rule {
    select when pageview ".*"    
    email:forward() with
    to = "[email protected]" and
    message = "Testing Kynetx Mail" and
    htmlmessage = "<html><body><p>Jed has html</p></body></html>";
    notify("Testing", "email sent");
  }

The notification shows up, but I never see the email, not even in my spam filter. Maybe email:forward() can only be used within the context of

select when mail received

?

As an alternative I guess I can use one of the PostMark-like services or maybe SNS ( http://wiki.kynetx.com/pages/Kynetx_Network_Services_(KNS)_API#SNS_Endpoint ). I just thought it'd be nice to keep it all in Kynetx.

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

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

发布评论

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

评论(2

谁许谁一生繁华 2024-11-05 15:28:56

正如您所猜测的,您只能在响应电子邮件端点内发出的事件信号时使用 email:forward() 操作。

最好的方法是使用邮戳或类似 sendgrid 的服务。

我们已经考虑过启用此功能,但为了防止 Kynetx 被用作垃圾邮件平台而必须付出的努力使其开发变得更加困难。

如果您确实使用其他服务,请考虑为该服务创建一个可以与其他人共享的模块。 :)

You can only use the email:forward() action when responding to an event signaled from within the email endpoint, as you guessed.

The best way to do this is with a postmark or sendgrid like service.

We have considered enabling this, but the pains that must be taken to prevent Kynetx from being used as a spam platform have made it a more difficult thing to develop.

If you do use another service, consider creating a module for the service that you can share with others. :)

毁我热情 2024-11-05 15:28:56

我为 Postmark 编写了一个 KRL 模块,如果您有 Postmark 帐户,就可以使用它。有关如何使用它的信息,请参阅我的帖子:

http:// globalconstant.scnay.com/2011/04/04/kynetx-module-for-postmark/

它还没有完全完成——我仍然需要构建他们的 API 的一些部分。但这只是一个开始。

I wrote a KRL module for Postmark that you can use if you have an account with them. See my post here about how to use it:

http://globalconstant.scnay.com/2011/04/04/kynetx-module-for-postmark/

It's not quite finished yet--I still have some parts of their API I need to build in. But it's a start.

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