Back to Programming Articles

[How To] Send emails as HTML instead of plain text
by aussiev8 08 Jun 2008

In the includes/class_mail.php on line 256 theres a line
PHP Code:
$headers .= 'Content-Type: text/plain' iif($encoding"; charset=\"$encoding\"") . $delimiter
Change it to

PHP Code:
$headers .= 'Content-Type: text/html' iif($encoding"; charset=\"$encoding\"") . $delimiter
Done!

Similar Mods

Profile Enhancements Send html OR plain text emails per user vBulletin 3.6 Add-ons
Fix for problem posting HTML entities as plain text vBulletin 3.5 Add-ons
Fix for problem posting HTML entities as plain text vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024