]> git.mxchange.org Git - core.git/blobdiff - inc/classes/third_party/php_mailer/class.pop3.php
Rewritten a lot double-quotes to single-requotes, removed deprecated exception, some...
[core.git] / inc / classes / third_party / php_mailer / class.pop3.php
index cac5dfef39f953e17118c5a24672a6a89e73f10b..0884a8252a6822e15724af5f2056af9207f23c46 100644 (file)
@@ -2,7 +2,7 @@
 /*~ class.pop3.php
 .---------------------------------------------------------------------------.
 |  Software: PHPMailer - PHP email class                                    |
-|   Version: 2.1                                                            |
+|   Version: 2.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,7 @@
 
 /**
  * POP Before SMTP Authentication Class
- * Version 2.1
+ * Version 2.3
  *
  * Author: Richard Davey (rich@corephp.co.uk)
  * Modifications: Andy Prevost
@@ -227,7 +227,7 @@ class POP3 {
     //  Increase the stream time-out
 
     //  Check for PHP 4.3.0 or later
-    if (version_compare(phpversion(), '4.3.0', 'ge')) {
+    if (version_compare(phpversion(), '5.0.0', 'ge')) {
       stream_set_timeout($this->pop_conn, $tval, 0);
     } else {
       //  Does not work on Windows
@@ -315,7 +315,7 @@ class POP3 {
    * @param integer $size
    * @return string
    */
-  private public function getResponse ($size = 128) {
+  private function getResponse ($size = 128) {
     $pop3_response = fgets($this->pop_conn, $size);
 
     return $pop3_response;
@@ -390,4 +390,4 @@ class POP3 {
 
   //  End of class
 }
-?>
+?>
\ No newline at end of file