PDA

View Full Version : Email as html - solved


shares
03-05-2006, 11:43 PM
Seems to be a popular subject, so I dug around the code a little.

Open up
<your pld directory>libs/phpmailer/class.phpmailer.php

Change

var $ContentType = "text/plain";

to

var $ContentType = "text/html";

Mind you, this is not fully tested. I didn't dig too deep into the code to undrstand why it works since my EMailer is configured to use an smtp server (class.smtp.php) rather than the PHPMailer, but it works.

slayer
12-12-2006, 08:55 AM
easy but gr8 mod
10x

SasaVtec
04-02-2007, 04:59 AM
Can David or someone confirm that this good to do, or will it mess up something else?

shadav
04-02-2007, 01:19 PM
lol i think i changed every instance of text/plain to text/html in that file on my directories and i've not had any issues as of yet with it

it helps with email templates so you can use Content visible to registered users only. and have your directory title be linked to your directory

otherwise without it then the codes show up as text....