[Migrated content. Thread originally posted on 24 June 2004]
Hello All Again,Based on an event the task I have to achieve is as follows:
Create a 2 page document and email it to our customers customer.
From my previous question I asked the Forum, we now know how to email the said document converting it to mime base 64 accordingly.
To create the said document, do not laugh, but we are doing the following:
Creating an html file, launching Internet Explorer where the user can send it to a pdf printer, then emailing the .pdf file. I tried to find freeware software that could convert te HTML to PDF format automatically, but the 2 page document became 5-7 pages and looked naff.
I went this route, rather then creating a word document, because of the following:
1. .pdf file cannot be easily amended by the reciprient.
2. When I used the example program, it worked for me using Office2000, but not for 2 of my collegues using Office 97 and Office on XP. This apparently because the WORD.DEF file has to be different for the different versions of WORD, and I did not want the hassle of having to keep different versions of the program.
3. I also thought the code was not that simple to understand, although to be honest I did not dwell on it when I found the problems with the definition file.
However, I am now thinking maybe it would be better and possibly easier to do a mail merge, although a .pdf file would be better and possibly more secure as we are embedding signatures into the document.
Has anyone else tried to do something similar? And what do you all think of which route is best to take?