SQL 报告服务可以通过电子邮件发送 pdf 吗?
我目前使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,可以。
Reporting Services 中的电子邮件传送
Yes it can.
E-Mail Delivery in Reporting Services