PDA

View Full Version : problems with HTML template



Jackal
24-Apr-2006, 12:58 PM
Hello,

I've got the 7.05 version of formmail.php, I've got a HTML template and a working form. But I keep receiving the mail in text format, it shows all the HTML from the template, but it's just a mess of code. First I thought it might be my client (Outlook 2003) because of the text "
(Your mail reader should not show this text. If it does you may need to upgrade to more modern software.)" but I've tried 2 more clients and they all show the same. Other HTML mails do show correct. Could this be an error in the script? Where do I need to look?

asket
25-Apr-2006, 07:40 AM
no, it shouldn't be a script-error, because normally html mails work fine, too
maybe you can post your current form or simply a link to it..

Jackal
25-Apr-2006, 06:06 PM
here's the form:

http://www.cevesvergeer.nl/index.php?page=documentatie-aanvragen

here's the template:

http://www.cevesvergeer.nl/templates/aanvraag.html

Jackal
10-May-2006, 10:25 PM
nobody that can help me?

tvulucy
12-May-2006, 02:57 PM
Have you tried it without the external css reference, and inline styles instead (in the template)?

asket
25-May-2006, 01:27 PM
Have you put in your form a mail_options hidden field? e.g.:

<input type="hidden" name="mail_options" value="HTMLTemplate=sample.html" />

brianwilson71
10-Dec-2006, 02:34 PM
Have you tried it without the external css reference, and inline styles instead (in the template)?

I have got the same problem, and it seems that to include the css inline is the solution. I can't understand why though... why is it not possible to call external css files? My problem is, if I copy all the CSS out of my external files, I will have two sets of CSS to keep in sync. Great script Russell.

Regards,

/Brian

brianwilson71
10-Dec-2006, 09:19 PM
Ignore my last post, I don't know exactly know what was wrong, however I do know that absolute references to the css files do work.

/Brian :D