Hi Les, I use a combination of ckeditor, PDF metamorphisis, and the C# MailDefinition and Dictionary classes:
* Create a html template with merge fields (e.g. use @@FieldName@@) * Users can edit the html template with something like ckeditor * Use the Dictionary class to replace the merge fields in the template * Create a pdf version of the resulting merged page using PDF Metamorphisis * Create the email using the MailDefinition class Cheers, Grant -- Castner IT Pty Ltd Dr Grant Castner *Director * e: [email protected] w: http://www.castnerit.com.au p: 0458 770 749 a: P.O. Box 952 Mooloolaba QLD 4557 twitter: @castnerit <http://twitter.com/CastnerIT> facebook: facebook.com/castnerit<http://www.facebook.com/pages/Brisbane-Australia/Castner-IT/291936316886?v=info> On 8 August 2011 00:47, Les Hughes <[email protected]> wrote: > > Hi All, > > I currently have a legacy app which uses an Access database to do a > mail-merge with Word 2003. Due to upgrades, all of the Access 03 stuff is > getting its last rights. Since we are now SQL server with security, > mail-merges are a little harder than before, and not really practical. (but > maybe I'm missing something?) > > A few questions: > > - Any good advise/links on how to do a similar thing to mail-merges? > - I've been playing around with using System.Packaging to unzip the docx > and find/replace on the merge fields. > > I'd like to be able to export the docx file to PDF without having Word on > the machine, I've had a look at Aspose.Words and it seems pricey for what I > want to do (docx->pdf on multiple client sites = ~$3000). Does anyone have > any advice or experience with one product over another? > > I'm not 100% sure about what I am trying to do yet, so any > info/stories/links/whatever would be appreciated. > > Thanks :) > -- > Les Hughes > [email protected] >
