1

我正在尝试在我的电子邮件正文中添加一个 html URL 标记。我像下面这样使用过,

:body (fn [events] "Hello Team.\n Welcome \n  <a href=\"https://example.com/\">Link to my website</a>  \n * This is an automated e-mail and any responses to this e-mail will not be monitored \n Thank You!")

我的 html 标签未被识别。我得到如下输出,

Hello Team, 
Welcome 
<a href="https://example.com/">Link to Kibana DashBoard</a>
 * This is an automated e-mail and any responses to this e-mail will not be monitored  Thank You!.

我需要使用任何过滤器在 clojure 中创建链接吗?

提前致谢。

4

1 回答 1

0

这是因为默认情况下您发送的是纯文本电子邮件。

Riemann 遵循 Postal 来发送电子邮件,请参阅此处了解如何发送 HTML 电子邮件。

于 2015-12-13T12:59:29.360 回答