SQL 报告服务可以通过电子邮件发送 pdf 吗?

发布于 2024-10-06 08:08:02 字数 424 浏览 6 评论 0原文

我目前使用 www.discountasp.net 作为我的网络托管。当客户下订单时,我想找到一种方法,可以将 PDF 版本的发票发送到我的本地计算机。我想这样做的原因是我想在我的本地机器上有一个计划任务,该任务可以在指定时间抓取当天的所有订单,并打印 pdf 文档以供我包装货物。在最糟糕的情况下,我希望将它们作为电子邮件的附件发送到我的机器。

我可以看到 SQL 报告可以导出为 pdf,因此我假设我可以以某种方式将订单 ID 传递到调用 SQL 报告以生成发票并向我发送文件的页面。另一种选择是将发票存储在服务器上,我将创建一个脚本来登录、复制它,然后将其清除。我以前“稍微”接触过 SQL 报表的使用,但在这方面却没有接触过。

有没有人对类似的事情有任何经验,并且可能知道在discountasp.net上托管它的具体经验,让我知道是否可能?您能给我一些关于该做什么或如何解决我的问题的建议吗?

I currently use www.discountasp.net for my web hosting. When a customer places an order I want to find a way that I can get a pdf version of the invoice to my local machine. The reason I want to do this is that I'd like to have a schedule task on my local machine that grabs all orders from the day at a specified time and print the pdf documents off ready for me to pack the goods. At the very worst I'd like to have them as attachments to emails sent to my machine.

I can see that SQL reporting can export to pdf so I'm assuming I can somehow pass an order id to a page that calls the SQL report to generate the invoice and send me the file. The other option is to store the invoice on the server and I'll create a script that logs in, copies it down, then clears it off. I've had 'slight' exposure to working with SQL Reports before but nothing along this line.

Has anyone got any experience with something like this that would know and possibly specific experience with it being hosted on discountasp.net to let me know if it's possible? Could you give me some advice on what to do or how to do it to solve my issue?

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

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

发布评论

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

评论(1

单身情人 2024-10-13 08:08:02

是的,可以。

报告服务包括电子邮件
交付扩展提供了一种方式
通过电子邮件将报告发送给个人用户
或团体。电子邮件传送
扩展是通过配置的
报告服务配置工具
并通过编辑报告服务
配置文件。

Reporting Services 中的电子邮件传送

Yes it can.

Reporting Services includes an e-mail
delivery extension that provides a way
to e-mail a report to individual users
or groups. The e-mail delivery
extension is configured through the
Reporting Services Configuration tool
and by editing the Reporting Services
configuration files.

E-Mail Delivery in Reporting Services

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