如何向克林特发送报告 [英] how can send a report to the clint

查看:108
本文介绍了如何向克林特发送报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何通过emain

以pdf格式发送报告库

使用MailMessage对象的附件属性将pdf文件附加到电子邮件.

创建一个临时文件夹,例如c:\ temp \ pdfs,并给IIS用户读写权限.然后在发送之前使用它来创建您的报告.记得在发送后删除文件,否则某个时候磁盘空间会用完


how i can send a repot in pdf by emain

解决方案

Use the attachment property of the MailMessage object to attach the pdf file to the email.


create a temp folder such as c:\temp\pdfs and give the IIS user read and write writes to it. Then use this to create your report prior to sending. Remember to delete the files after you send or you will run out of disc space at somepoint


这篇关于如何向克林特发送报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆