如何将pdf生成的文档作为电子邮件附件发送? [英] How to send a pdf generated doc as an email attachment?

查看:677
本文介绍了如何将pdf生成的文档作为电子邮件附件发送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将如何生成pdf文档,而不下载它,然后将该文档作为附件发送到电子邮件地址,到目前为止,我可以为正在使用的pdf生成器生成pdf文档,并且可以发送电子邮件iTextSharp.

How Would I generate a pdf doc, and not download it but then send the doc as attachment to an email address, so far I can generate a pdf doc, and I can send an email, for the pdf generator I am using iTextSharp.

推荐答案

在这里看看:
Have a look here: Sending an Email in C# with or without attachments: generic routine.[^] It shows you how to attach files and send them. It is probably only a small tweek to your Email code that you need.


这篇关于如何将pdf生成的文档作为电子邮件附件发送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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