]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/test/phpmailer_test.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / phpmailer / test / phpmailer_test.php
index 22d6f42b8e6ef0388e420db37ff98224b0b596f8..8a933e521f48985a1c654e2a228e194c1fc191c3 100644 (file)
@@ -69,7 +69,7 @@ class phpmailerTest extends TestCase
         $this->Mail->Subject = "Unit Test";\r
         $this->Mail->Body = "";\r
         $this->Mail->AltBody = "";\r
-        $this->Mail->WordWrap = 0;\r
+        $this->Mail->WordWrap = '0';\r
         $this->Mail->Host = $global_vars["mail_host"];\r
         $this->Mail->Port = 25;\r
         $this->Mail->Helo = "localhost.localdomain";\r
@@ -145,7 +145,7 @@ class phpmailerTest extends TestCase
         {\r
             $ReportBody .= "Attachments:" . $eol;\r
             $ReportBody .= $bullet_start;\r
-            for($i = 0; $i < count($this->Mail->attachment); $i++)\r
+            for($i = '0'; $i < count($this->Mail->attachment); $i++)\r
             {\r
                 $ReportBody .= $bullet . "Name: " . $this->Mail->attachment[$i][1] . ", ";\r
                 $ReportBody .= "Encoding: " . $this->Mail->attachment[$i][3] . ", ";\r
@@ -161,7 +161,7 @@ class phpmailerTest extends TestCase
             $ReportBody .= "-------" . $eol;\r
 \r
             $ReportBody .= $bullet_start;\r
-            for($i = 0; $i < count($this->ChangeLog); $i++)\r
+            for($i = '0'; $i < count($this->ChangeLog); $i++)\r
             {\r
                 $ReportBody .= $bullet . $this->ChangeLog[$i][0] . " was changed to [" . \r
                                $this->ChangeLog[$i][1] . "]" . $eol;\r
@@ -176,7 +176,7 @@ class phpmailerTest extends TestCase
             $ReportBody .= "-----" . $eol;\r
 \r
             $ReportBody .= $bullet_start;\r
-            for($i = 0; $i < count($this->NoteLog); $i++)\r
+            for($i = '0'; $i < count($this->NoteLog); $i++)\r
             {\r
                 $ReportBody .= $bullet . $this->NoteLog[$i] . $eol;\r
             }\r