[evolvis-commits] r11792: fixing bounces in fo?==?UTF-8?Q?rum↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 18:25:00 CET 2011


Author: mirabilos
Date: 2011-02-24 18:25:00 +0100 (Thu, 24 Feb 2011)
New Revision: 11792

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class
Log:
fixing bounces in forum


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class	2011-02-24 17:24:59 UTC (rev 11791)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/forum/ForumMessage.class	2011-02-24 17:25:00 UTC (rev 11792)
@@ -690,7 +690,9 @@
 		"\nhttp://".$GLOBALS['sys_default_domain']."/forum/monitor.php?forum_id=".$this->Forum->getID() .'&group_id='.$this->Forum->Group->getID().'&stop=1';
 
 		//$extra_headers = 'Reply-to: '.$this->Forum->getUnixName().'@'.$GLOBALS['sys_default_domain'];
-		$extra_headers = "Return-Path: <noreply at gforge.org>\n";
+		$extra_headers = "Return-Path: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+		$extra_headers .= "Errors-To: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+		$extra_headers .= "Sender: <noreply@".$GLOBALS['sys_default_domain'].">\n";
 		$extra_headers .= "Reply-To: ".$this->Forum->getReturnEmailAddress()."\n";
 		$extra_headers .= "Precedence: Bulk\n"
 			."List-Id: ".$this->Forum->getName()." <forum".$this->Forum->getId()."@".$GLOBALS['sys_default_domain'].">\n"
@@ -750,7 +752,9 @@
 		"\nYou are receiving this email because the forum you administrate has a new moderated message awaiting your approval.";
 
 		//$extra_headers = 'Reply-to: '.$this->Forum->getUnixName().'@'.$GLOBALS['sys_default_domain'];
-		$extra_headers = "Return-Path: <noreply at gforge.org>\n";
+		$extra_headers = "Return-Path: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+		$extra_headers .= "Errors-To: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+		$extra_headers .= "Sender: <noreply@".$GLOBALS['sys_default_domain'].">\n";
 		$extra_headers .= "Reply-To: ".$this->Forum->getReturnEmailAddress()."\n";
 		$extra_headers .= "Precedence: Bulk\n"
 			."List-Id: ".$this->Forum->getName()." <forum".$this->Forum->getId()."@".$GLOBALS['sys_default_domain'].">\n"
@@ -845,7 +849,9 @@
 			"\nTo stop monitoring this forum, login to ".$GLOBALS['sys_name']." and visit: ".
 			"\nhttp://".$GLOBALS['sys_default_domain']."/forum/monitor.php?forum_id=".$this->Forum->getID() .'&group_id='.$this->Forum->Group->getID().'&stop=1';
 	
-			$extra_headers = "Return-Path: <noreply at gforge.org>\n";
+			$extra_headers = "Return-Path: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+			$extra_headers .= "Errors-To: <noreply@".$GLOBALS['sys_default_domain'].">\n";
+			$extra_headers .= "Sender: <noreply@".$GLOBALS['sys_default_domain'].">\n";
 			$extra_headers .= "Reply-To: ".$this->Forum->getReturnEmailAddress()."\n";
 			$extra_headers .= "Precedence: Bulk\n"
 				."List-Id: ".$this->Forum->getName()." <forum".$this->Forum->getId()."@".$GLOBALS['sys_default_domain'].">\n"



More information about the evolvis-commits mailing list