Ive just downloaded the trial version of Merger and am having a go at creating/merging some PDF files.
I see that most of the examples create the PDF in the aspx code-behind and write the PDF to the screen.
What I'd like to do is to email the PDF as an attachment from my web application. Are there any examples on how to do this?
Would I have to create the PDF in a folder on my server and then attach the file from within my mail routine.
Am a beginner at this so any help would be most appreciated.
Merging a PDF to be emailed
Re: Merging a PDF to be emailed
Support · Nov 13, 2006Hello,
Using the merger product you can output the PDF to browser, byte array or stream. The product you downloaded also includes with it FireMail v1.0 for .NET. Also with the download is the Help Library which includes a section for FireMail. In the Help Library you will find a section on Attaching Documents and it does show how to attach a file from a stream. The attachment can also be added from a byte array or from the file system.
Following is the link to the Help Library on our web site that shows how to add attachments: http://www.DynamicPDF.com/Support/NET_Help_Library_06_03/html/Attachments.html
Thanks,
ceTe Software Support Team
Re: Merging a PDF to be emailed
Forum member · Feb 8, 2007Is it possible to use the stream or byte array method to attach the PDF to an email sent using the System.Net.Mail classes (ie not using FireMail)?
Re: Merging a PDF to be emailed
Support · Feb 8, 2007Hello,
Using the .NET's inbuilt classes you can not send the stream or byte array as an attachment in a mail. You will have to save the PDF to disk and then you can use the saved PDF as an attachment. Using the FireMail product you can send stream or byte array as attachments.
Thanks,
ceTe Software Support Team.
Re: Merging a PDF to be emailed
Forum member · Feb 9, 2007OK. Thanks for the info.