incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From der...@apache.org
Subject [zeta-commits] svn commit: r1093995 - in /incubator/zetacomponents/trunk/Mail: ChangeLog src/mail.php tests/mail_test.php
Date Sat, 16 Apr 2011 13:34:05 GMT
Author: derick
Date: Sat Apr 16 13:34:04 2011
New Revision: 1093995

URL: http://svn.apache.org/viewvc?rev=1093995&view=rev
Log:
- Fixed #ZETACOMP-77: Mail still uses "eZ Components" as User-Agent, which
  should be "Apache Zeta Components".

Modified:
    incubator/zetacomponents/trunk/Mail/ChangeLog
    incubator/zetacomponents/trunk/Mail/src/mail.php
    incubator/zetacomponents/trunk/Mail/tests/mail_test.php

Modified: incubator/zetacomponents/trunk/Mail/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/Mail/ChangeLog?rev=1093995&r1=1093994&r2=1093995&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/Mail/ChangeLog (original)
+++ incubator/zetacomponents/trunk/Mail/ChangeLog Sat Apr 16 13:34:04 2011
@@ -12,6 +12,8 @@
   alpine uses.
 - Fixed #ZETACOMP-76: MailTools::replyTo will always use REPLY_ALL instead of
   distinguishing between REPLY_ALL and REPLY_SENDER.
+- Fixed #ZETACOMP-77: Mail still uses "eZ Components" as User-Agent, which
+  should be "Apache Zeta Components".
 
 
 1.7 - Monday 21 December 2009

Modified: incubator/zetacomponents/trunk/Mail/src/mail.php
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/Mail/src/mail.php?rev=1093995&r1=1093994&r2=1093995&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/Mail/src/mail.php (original)
+++ incubator/zetacomponents/trunk/Mail/src/mail.php Sat Apr 16 13:34:04 2011
@@ -379,7 +379,7 @@ class ezcMail extends ezcMailPart
         $this->setHeader( 'Subject', $this->subject, $this->subjectCharset );
 
         $this->setHeader( 'MIME-Version', '1.0' );
-        $this->setHeader( 'User-Agent', 'eZ Components' );
+        $this->setHeader( 'User-Agent', 'Apache Zeta Components' );
         $this->setHeader( 'Date', date( 'r' ) );
         $idhost = $this->from != null && $this->from->email != '' ? $this->from->email
: 'localhost';
         if ( is_null( $this->messageId ) )

Modified: incubator/zetacomponents/trunk/Mail/tests/mail_test.php
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/Mail/tests/mail_test.php?rev=1093995&r1=1093994&r2=1093995&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/Mail/tests/mail_test.php (original)
+++ incubator/zetacomponents/trunk/Mail/tests/mail_test.php Sat Apr 16 13:34:04 2011
@@ -81,7 +81,7 @@ class ezcMailTest extends ezcTestCase
             "Bcc: amos@ez.no" . ezcMailTools::lineBreak() .
             "Subject: " . ezcMailTools::lineBreak() .
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -99,7 +99,7 @@ class ezcMailTest extends ezcTestCase
             "To: Frederik Holljen <fh@ez.no>" . ezcMailTools::lineBreak() .
             "Subject: Dette er en test" . ezcMailTools::lineBreak() .
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -118,7 +118,7 @@ class ezcMailTest extends ezcTestCase
             "To: Frederik Holljen <fh@ez.no>" . ezcMailTools::lineBreak() .
             "Subject: =?ISO-8859-1?Q?D=F8tte=20er=20en=20test?=" . ezcMailTools::lineBreak()
.
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -141,7 +141,7 @@ class ezcMailTest extends ezcTestCase
             "Bcc: =?ISO-8859-1?Q?Fr=E6derik=20H=F8lljen?= <fh@ez.no>" . ezcMailTools::lineBreak()
.
             "Subject: =?ISO-8859-1?Q?D=F8tte=20er=20en=20test?=" . ezcMailTools::lineBreak()
.
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -160,7 +160,7 @@ class ezcMailTest extends ezcTestCase
             "To: Frederik Holljen <fh@ez.no>" . ezcMailTools::lineBreak() .
             "Subject: Dette er en test" . ezcMailTools::lineBreak() .
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -179,7 +179,7 @@ class ezcMailTest extends ezcTestCase
             "To: Frederik Holljen <fh@ez.no>" . ezcMailTools::lineBreak() .
             "Subject: =?UTF-8?Q?D=C3=B8tte=20er=20en=20test?=" . ezcMailTools::lineBreak()
.
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -202,7 +202,7 @@ class ezcMailTest extends ezcTestCase
             "Bcc: =?UTF-8?Q?Fr=C3=A6derik=20H=C3=B8lljen?= <fh@ez.no>" . ezcMailTools::lineBreak()
.
             "Subject: =?UTF-8?Q?D=C3=A4tte=20er=20en=20test?=" . ezcMailTools::lineBreak()
.
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be
@@ -379,7 +379,7 @@ class ezcMailTest extends ezcTestCase
             " nospam6@ez.no, nospam7@ez.no" . ezcMailTools::lineBreak() .
             "Subject: " . ezcMailTools::lineBreak() .
             "MIME-Version: 1.0" . ezcMailTools::lineBreak() .
-            "User-Agent: eZ Components";
+            "User-Agent: Apache Zeta Components";
 
         $return = $this->mail->generate();
         // cut away the Date and Message-ID headers as there is no way to predict what they
will be



Mime
View raw message