Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Support (Version 2)

Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 pr higher then you must post in the phpLD 3.x & 4.x Support Forum.

Closed Thread
 
topic widgets
Old 03-05-2006   #1
shares
 
Join Date: Feb 2006
Posts: 3
Default Email as html - solved

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.
shares is offline  
Old 12-12-2006   #2
slayer
Supporter
 
slayer's Avatar
 
Join Date: Oct 2006
Location: www.supremedirectory.net
Posts: 69
Default

easy but gr8 mod
10x
__________________
Need a template/logo designed at a reasonable price? Pm me and we can work out a deal.
SupremeDirectory - Premium Directory - Regular Permanent Links ONLY $3!
slayer is offline  
Old 04-02-2007   #3
SasaVtec
Supporter
 
SasaVtec's Avatar
 
Join Date: Jul 2006
Posts: 376
Default

Can David or someone confirm that this good to do, or will it mess up something else?
__________________
NP Links Directory ~~ Online Web Resources ~~ Free Pro Templates
SasaVtec is offline  
Old 04-02-2007   #4
shadav
Mentor
Supporter
Moderator
 
shadav's Avatar
 
Join Date: Dec 2006
Location: Indiana
Posts: 5,146
Default

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
Code:
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....
__________________
shadav is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 01:10 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.