cvs: SVNROOT / commit-email.php
| From: | Gwynne Raskind | Date: | Sat, 20 Dec 2008 19:24:18 +0000 |
| Subject: | cvs: SVNROOT / commit-email.php | ||
| Groups: | svn.migration | ||
| Request: | Send a blank email to svn-migration+get-222@lists.php.net to get a copy of this message | ||
gwynne Sat Dec 20 19:24:18 2008 UTC
Modified files:
/SVNROOT commit-email.php
Log:
Send e-mails from php.net address
http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.8&r2=1.9&diff_format=u
Index: SVNROOT/commit-email.php
diff -u SVNROOT/commit-email.php:1.8 SVNROOT/commit-email.php:1.9
--- SVNROOT/commit-email.php:1.8 Sat Dec 20 19:12:48 2008
+++ SVNROOT/commit-email.php Sat Dec 20 19:24:18 2008
@@ -7,7 +7,7 @@
//
-----------------------------------------------------------------------------------------------------------------------------
// Constants
-$version = substr('$Revision: 1.8 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.9 $', strlen('$Revision: '), -2);
$smtp_server = '127.0.0.1';
$commit_email_list = array(
// FastCGI ISAPI
@@ -109,7 +109,7 @@
foreach ($usersDB as $userline) {
list ($username, $fullname, $email) = explode(":", trim($userline));
if ($username == $commit_user) {
- $from = "\"{$fullname}\" <$email>";
+ $from = "\"{$fullname}\" <{$username}@php.net>";
break;
}
}