Commit: 49e5064ad0e966894279e5bee8ae8e2f2456daf2 Author: Hannes Magnusson <[email protected]> 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: [email protected]", - "[email protected]" + "[email protected]" ); // 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('[email protected]','[mirrors] Status change for '.$hostname,$body,"From: [email protected]\r\n", "[email protected]"); + @mail('[email protected]','[mirrors] Status change for '.$hostname,$body,"From: [email protected]\r\n", "[email protected]"); } } } else { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
