1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 23:36:29 +02:00

0.7 -> 0.8 upgrade fixes

This commit is contained in:
CaMer0n
2009-11-19 10:07:32 +00:00
parent 5961e8cba4
commit b0522016cd
7 changed files with 66 additions and 18 deletions

View File

@@ -9,8 +9,8 @@
* e107 Main
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $
* $Revision: 1.17 $
* $Date: 2009-11-18 01:04:43 $
* $Revision: 1.18 $
* $Date: 2009-11-19 10:07:32 $
* $Author: e107coders $
*/
@@ -859,7 +859,8 @@ function sendemail($send_to, $subject, $message, $to_name, $send_from='', $from_
if (varsettrue($mailheader_e107id)) $mail->AddCustomHeader("X-e107-id: {$mailheader_e107id}");
$mail->makeBody($message); // Add body, with conversion if required
//Legacy required - \n must be converted to <br /> in HTML version of email.
$mail->makeBodyLegacy($message); // Add body, with conversion if required
if($Cc) $mail->AddAddressList('cc', $Cc);