]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/class.pop3.php
Typo fixed.
[mailer.git] / inc / phpmailer / class.pop3.php
index e97a0c9c90494a80dadb8c0e93664d1fbb80e92f..56bbc54e573731a42556ef15976edf374ed36bb2 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.pop3.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.0.2                                                          |
+|   Version: 2.0.4                                                          |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
@@ -115,7 +115,7 @@ class POP3
   function POP3 ()
     {
       $this->pop_conn = 0;
-      $this->connected = false;
+      $this->connected = FALSE;
       $this->error = null;
     }
 
@@ -128,12 +128,12 @@ class POP3
    * @param string $username
    * @param string $password
    */
-  function Authorise ($host, $port = false, $tval = false, $username, $password, $debug_level = 0)
+  function Authorise ($host, $port = FALSE, $tval = FALSE, $username, $password, $debug_level = 0)
   {
     $this->host = $host;
 
     //  If no port value is passed, retrieve it
-    if ($port == false)
+    if ($port == FALSE)
     {
       $this->port = $this->POP3_PORT;
     }
@@ -143,7 +143,7 @@ class POP3
     }
 
     //  If no port value is passed, retrieve it
-    if ($tval == false)
+    if ($tval == FALSE)
     {
       $this->tval = $this->POP3_TIMEOUT;
     }
@@ -170,7 +170,7 @@ class POP3
       {
         $this->Disconnect();
 
-        return true;
+        return TRUE;
       }
 
     }
@@ -178,7 +178,7 @@ class POP3
     //  We need to disconnect regardless if the login succeeded
     $this->Disconnect();
 
-    return false;
+    return FALSE;
   }
 
   /**
@@ -189,12 +189,12 @@ class POP3
    * @param integer $tval
    * @return boolean
    */
-  function Connect ($host, $port = false, $tval = 30)
+  function Connect ($host, $port = FALSE, $tval = 30)
     {
     //  Are we already connected?
     if ($this->connected)
     {
-      return true;
+      return TRUE;
     }
 
     /*
@@ -221,7 +221,7 @@ class POP3
     }
 
     //  Did we connect?
-      if ($this->pop_conn == false)
+      if ($this->pop_conn == FALSE)
       {
         //  It would appear not...
         $this->error = array(
@@ -235,7 +235,7 @@ class POP3
           $this->displayErrors();
         }
 
-        return false;
+        return FALSE;
       }
 
       //  Increase the stream time-out
@@ -261,8 +261,8 @@ class POP3
       if ($this->checkResponse($pop3_response))
       {
       //  The connection is established and the POP3 server is talking
-      $this->connected = true;
-        return true;
+      $this->connected = TRUE;
+        return TRUE;
       }
 
     }
@@ -276,7 +276,7 @@ class POP3
      */
     function Login ($username = '', $password = '')
     {
-      if ($this->connected == false)
+      if ($this->connected == FALSE)
       {
         $this->error = 'Not connected to POP3 server';
 
@@ -311,16 +311,16 @@ class POP3
 
         if ($this->checkResponse($pop3_response))
         {
-          return true;
+          return TRUE;
         }
         else
         {
-          return false;
+          return FALSE;
         }
       }
       else
       {
-        return false;
+        return FALSE;
       }
     }
 
@@ -389,11 +389,11 @@ class POP3
           $this->displayErrors();
         }
 
-        return false;
+        return FALSE;
       }
       else
       {
-        return true;
+        return TRUE;
       }
 
     }