cvs: SVNROOT / commit-email.php

[email protected] ("Gwynne Raskind") Tue, 24 Feb 2009 18:31:36 -0000
Newsgroups svn.migration
Message-ID <cvsgwynne1235500296@cvsserver>
gwynne		Tue Feb 24 18:31:36 2009 UTC

  Modified files:              
    /SVNROOT	commit-email.php 
  Log:
  imap_8bit() on From addresses
  
http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.12&r2=1.13&diff_format=u
Index: SVNROOT/commit-email.php
diff -u SVNROOT/commit-email.php:1.12 SVNROOT/commit-email.php:1.13
--- SVNROOT/commit-email.php:1.12	Sat Dec 20 20:04:18 2008
+++ SVNROOT/commit-email.php	Tue Feb 24 18:31:36 2009
@@ -7,7 +7,7 @@
 
 // -----------------------------------------------------------------------------------------------------------------------------
 // Constants
-$version = substr('$Revision: 1.12 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.13 $', 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}\" <{$username}@php.net>";
+        $from = imap_8bit("\"{$fullname}\" <{$username}@php.net>");
         break;
     }
 }