appdb/include mail.php
WineHQ
wineowner at wine.codeweavers.com
Thu Jul 5 20:24:09 CDT 2007
ChangeSet ID: 31240
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/07/05 20:24:09
Modified files:
include : mail.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Fix email messageboxes to be on multiple lines again. The email array passed to addmsg() must
be space-separated.
Patch: http://cvs.winehq.org/patch.py?id=31240
Old revision New revision Changes Path
1.10 1.11 +2 -2 appdb/include/mail.php
Index: appdb/include/mail.php
diff -u -p appdb/include/mail.php:1.10 appdb/include/mail.php:1.11
--- appdb/include/mail.php:1.10 6 Jul 2007 1:24: 9 -0000
+++ appdb/include/mail.php 6 Jul 2007 1:24: 9 -0000
@@ -8,12 +8,12 @@ function mail_appdb($sEmailList,$sSubjec
if(defined("DISABLE_EMAIL"))
return;
- $sEmailList = str_replace(" ",",",$sEmailList);
+ $sEmailListComma = str_replace(" ",",",$sEmailList);
$sHeaders = "MIME-Version: 1.0\r\n";
$sHeaders .= "From: AppDB <".APPDB_SENDER_EMAIL.">\r\n";
$sHeaders .= "Reply-to: AppDB <".APPDB_SENDER_EMAIL.">\r\n";
- $sHeaders .= "Bcc: $sEmailList\r\n";
+ $sHeaders .= "Bcc: $sEmailListComma\r\n";
$sHeaders .= "X-Priority: 3\r\n";
$sHeaders .= "X-Mailer: ".APPDB_OWNER." mailer\r\n";
$sMsg = trim(ereg_replace("\r\n","\n",$sMsg));
More information about the wine-cvs
mailing list