com web/master: Fix outbound emails: manage/mirrors.php
| From: | Hannes Magnusson | Date: | Mon, 30 Dec 2013 00:12:50 +0000 |
| Subject: | com web/master: Fix outbound emails: manage/mirrors.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17887@lists.php.net to get a copy of this message | ||
Commit: 49e5064ad0e966894279e5bee8ae8e2f2456daf2
Author: Hannes Magnusson <bjori@mongodb.com> Sun, 29 Dec 2013 16:12:50 -0800
Parents: d1eea4629f9bc4ed0a7d694981e5442c5441d5b2
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=49e5064ad0e966894279e5bee8ae8e2f2456daf2
Log:
Fix outbound emails
Changed paths:
M manage/mirrors.php
Diff:
diff --git a/manage/mirrors.php b/manage/mirrors.php
index d78237e..34300da 100644
--- a/manage/mirrors.php
+++ b/manage/mirrors.php
@@ -110,7 +110,7 @@ if (isset($id) && isset($hostname)) {
"[mirrors] Update by " . $_SESSION["username"],
$body,
"From: mirrors@php.net",
- "-fmirrors@php.net"
+ "-fnoreply@php.net"
);
// If a mirror has been modified, send information safe for public eyes to the
@@ -119,7 +119,7 @@ if (isset($id) && isset($hostname)) {
$body = 'The mirror '.$hostname.' has been modified by
'.$_SERVER["username"].'. It\'s status is ';
$body .= isset($active) && $active == true ? 'active.' :
'inactive, and DNS will be disabled.';
$body .= isset($acmt) && !empty($acmt) ? ' Notes were added to the mirror\'s
file.' : '';
- @mail('network-status@lists.php.net','[mirrors] Status change for
'.$hostname,$body,"From: mirrors@php.net\r\n", "-fmirrors@php.net");
+ @mail('network-status@lists.php.net','[mirrors] Status change for
'.$hostname,$body,"From: mirrors@php.net\r\n", "-fnoreply@php.net");
}
}
} else {