View Full Version : htmlentities & email

11-19-2007, 10:58 PM
I'm doing htmlentities() on some data that users are submitting..... but then was wondering how you go about using this data with users that don't have HTML email capability....

Like, if you send this data to someones email & they don't have HTML emails, then they will get the ugly HTML code.. any ideas!? :confused:


11-19-2007, 11:10 PM
An email can contain both an HTML and a text version I believe.

Perhaps the PHPMailer class that everybody seems to like affords that feature.

Velox Letum
11-20-2007, 04:04 AM
Take a look at http://archivist.incutio.com/viewlist/css-discuss/37970 and the comments on http://www.php.net/function.mail