![]() |
How do I send an HTML email? Under 'edit users', theres and option that says 'email all members' and when I did that - it said that HTML was acceptable....I entered some HTML code but when I sent the email it went out as just the code and not transformed as i wanted it to be. What am I doing wrong? |
It is not really supported but you can try this edit here and see in adm-user.php find this $subject = addslashes( $subject ); $letter = addslashes( $letter ); $from_email = "From: {$Globals['adminemail']}"; while ( list($euserid,$eusername,$email) = mysql_fetch_row($fusers) ) { mail( $email, $subject, $letter, $from_email ); } change it to this $subject = addslashes( $subject ); $letter = addslashes( $letter ); $from_email = "{$Globals['adminemail']}"; $headers = ""; $newline = "\n"; $headers .= "From: {$from_email}$newline"; $headers .= "Sender: {$from_email}$newline"; $headers .= "Reply-to: {$from_email}$newline"; $headers .= "X-Mailer: Photopost$newline"; $headers .= "Return-Path: <{$from_email}>$newline"; $headers .= "Content-Type: text/html; charset=iso-8859-1$newline"; while ( list($euserid,$eusername,$email) = mysql_fetch_row($fusers) ) { mail( $email, $subject, $letter,"From: $from_email{$newline}$headers"); } |
We need to include this in the PP5 update since we said we would support it, just forgot to add the appropriate code! |
| All times are GMT -5. The time now is 06:40 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0