cvs: SVNROOT / commit-email.php
[email protected] ("Gwynne Raskind")
| Newsgroups | svn.migration |
|---|---|
| Message-ID | <cvsgwynne1228770082@cvsserver> |
gwynne Mon Dec 8 21:01:22 2008 UTC
Modified files:
/SVNROOT commit-email.php
Log:
oops, send_addr, not email_to
http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.2&r2=1.3&diff_format=u
Index: SVNROOT/commit-email.php
diff -u SVNROOT/commit-email.php:1.2 SVNROOT/commit-email.php:1.3
--- SVNROOT/commit-email.php:1.2 Mon Dec 8 20:15:17 2008
+++ SVNROOT/commit-email.php Mon Dec 8 21:01:22 2008
@@ -8,7 +8,7 @@
// -----------------------------------------------------------------------------------------------------------------------------
// Constants
-$version = substr('$Revision: 1.2 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.3 $', strlen('$Revision: '), -2);
$email_to = array('[email protected]');
$smtp_server = '127.0.0.1';
@@ -121,7 +121,7 @@
"HELO svnserver\r\n" .
"MAIL FROM:<[email protected]>\r\n");
foreach ($email_to as $send_addr) {
- fwrite($socket, "RCPT TO:<{$email_to}>\r\n");
+ fwrite($socket, "RCPT TO:<{$send_addr}>\r\n");
}
fwrite($socket,
"DATA\r\n" .