通过 pentaho Spoon 电子邮件发送表格

发布于 2025-01-11 18:20:30 字数 112 浏览 3 评论 0原文

在 Pentaho Spoon 中,我输入一个表并添加一些过滤器、常量和计算字段。 我的最后一步是通过电子邮件发送剩余的行。邮件功能为每一行发送一封单独​​的电子邮件 - 是否可以在电子邮件正文中发送整个表格。

In Pentaho spoon, I'm inputting a table and adding some filters, constants, and calculated fields.
My final step is to e-mail the remaining lines. The mail function sends a separate e-mail for each line - is it possible to send the entire table in the body of the e-mail.

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

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

发布评论

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

评论(1

长亭外,古道边 2025-01-18 18:20:30

您无法在一次转换中完成此操作,Spoon 中转换的电子邮件步骤旨在针对每个输入行进行操作。

最简单的方法是结束转换,用您的数据生成一个文件,并创建一个作业来运行转换,然后继续发送电子邮件(使用作业操作)的作业,获取该文件并将数据作为附件发送。

如果您需要发送邮件正文中的行而不是作为附件,这个旧线程提供了不同的方法来实现它:使用 Pentaho 将 SQL 查询结果集发送到电子邮件 ID

You can't do it in one transformation, the email step for a transformation in Spoon is designed to operate for each input row.

The easiest way would be to end the transformation generating a file with your data and create a job to run the transformation and continue the job sending an email (using the job action) taking that file and sending the data as an attachment.

If you need to send the rows in the mail body and not as an attachment, this old thread offers different methods to achieve it: Send SQL query Result set to an email ID using Pentaho

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