urlkiller |
|
---|---|
check this out:
functions.php line 3009: /** * Sends mail with standard PHP mail() * * @global $cfg * @param string $fmail Recipient * @param string $subject Subject * @param string $body Message body * @param string $headers Message headers * @param string $additional_parameters Additional parameters passed to sendmail * @return bool */ function sed_mail($fmail, $subject, $body, $headers='', $additional_parameters = null) { global $cfg; if(empty($fmail)) { return(FALSE); } else { $headers = (empty($headers)) ? "From: \"".$cfg['maintitle']."\" <".$cfg['adminemail'].">\n"."Reply-To: <".$cfg['adminemail'].">\n" : $headers; $body .= "\n\n".$cfg['maintitle']." - ".$cfg['mainurl']."\n".$cfg['subtitle']; if($cfg['charset'] != 'us-ascii') { $headers .= "Content-Type: text/plain; charset=".$cfg['charset']."\n"; $headers .= "Content-Transfer-Encoding: 8bit\n"; $subject = mb_encode_mimeheader($subject, $cfg['charset'], 'B', "\n"); } if(ini_get('safe_mode')) { mail($fmail, $subject, $body, $headers); } else { mail($fmail, $subject, $body, $headers, $additional_parameters); } sed_stat_inc('totalmailsent'); return(TRUE); } } AND this here is the header for aregular HTML email: MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 but remember corehacking is not the best way of achiving a goal! for my example you need to change the charset and type in the system/functions.php on line 3009. URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
|