]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/class.pop3.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / phpmailer / class.pop3.php
index 901a174119c332aa409b6fd69f9b827e2747b4ef..3dd53b8ceddc74b87d20d99129d496a9d7f14406 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.pop3.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.0.0 rc2                                                      |
+|   Version: 2.0.3                                                          |
 |   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
 |      Info: http://phpmailer.sourceforge.net                               |
 |   Support: http://sourceforge.net/projects/phpmailer/                     |
@@ -26,7 +26,6 @@
 
 /**
  * POP Before SMTP Authentication Class
- * Version 1.0
  *
  * Author: Richard Davey (rich@corephp.co.uk)
  * License: LGPL, see PHPMailer License
@@ -115,7 +114,7 @@ class POP3
    */
   function POP3 ()
     {
-      $this->pop_conn = 0;
+      $this->pop_conn = '0';
       $this->connected = false;
       $this->error = null;
     }
@@ -129,7 +128,7 @@ 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;
 
@@ -275,7 +274,7 @@ class POP3
      * @param string $password
      * @return boolean
      */
-    function Login ($username = "", $password = "")
+    function Login ($username = '', $password = '')
     {
       if ($this->connected == false)
       {
@@ -382,7 +381,7 @@ class POP3
         $this->error = array(
           'error' => "Server reported an error: $string",
           'errno' => 0,
-          'errstr' => ""
+          'errstr' => ''
         );
 
         if ($this->do_debug >= 1)