|
From: FlorinCB <ory...@us...> - 2008-12-18 03:23:14
|
Update of /cvsroot/mxbb/mx_contact/admin In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3880 Modified Files: admin_mass_mail.php Log Message: fix Index: admin_mass_mail.php =================================================================== RCS file: /cvsroot/mxbb/mx_contact/admin/admin_mass_mail.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mass_mail.php 4 Oct 2008 08:03:18 -0000 1.1 --- admin_mass_mail.php 18 Dec 2008 03:22:37 -0000 1.2 *************** *** 229,233 **** $emailer = new emailer($board_config['smtp_delivery']); ! $email_headers = 'Return-Path: ' . $userdata['board_email'] . "\nFrom: " . $board_config['board_email'] . "\n"; $email_headers .= 'X-AntiAbuse: Board servername - ' . $board_config['server_name'] . "\n"; $email_headers .= 'X-AntiAbuse: User_id - ' . $userdata['user_id'] . "\n"; --- 229,249 ---- $emailer = new emailer($board_config['smtp_delivery']); ! $email_headers = "From: " . $board_config['board_email'] . "\n"; ! ! $email_headers .= 'Reply-To: ' . $userdata['board_email']; ! $email_headers .= 'Return-Path: <' . $board_config['board_email'] . '>'; ! $email_headers .= 'Sender: <' . $userdata['board_email'] . '>'; ! $email_headers .= 'MIME-Version: 1.0'; ! $email_headers .= 'Message-ID: <' . md5(unique_id(time())) . '@' . $board_config['server_name'] . '>'; ! $email_headers .= 'Date: ' . date('r', time()); ! $email_headers .= 'Content-Type: text/html; charset=UTF-8'; // format=flowed ! $email_headers .= 'Content-Transfer-Encoding: 8bit'; // 7bit ! ! $email_headers .= 'X-Priority: 3'; ! $email_headers .= 'X-MSMail-Priority: Normal'; ! $email_headers .= 'X-Mailer: MXP3'; ! $email_headers .= 'X-MimeOLE: Produced By Mx-Publisher ' . PORTAL_VERSION; ! $email_headers .= 'X-phpBB-Origin: phpbb://' . str_replace(array('http://', 'https://'), array('', ''), generate_contact_url()); ! $email_headers .= 'X-AntiAbuse: Board servername - ' . $board_config['server_name'] . "\n"; $email_headers .= 'X-AntiAbuse: User_id - ' . $userdata['user_id'] . "\n"; |