X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fclass.pop3.php;h=0884a8252a6822e15724af5f2056af9207f23c46;hb=49f84a522f0ccac3b70728cd41011a0be0eed8cf;hp=cac5dfef39f953e17118c5a24672a6a89e73f10b;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308;p=core.git diff --git a/inc/classes/third_party/php_mailer/class.pop3.php b/inc/classes/third_party/php_mailer/class.pop3.php index cac5dfef..0884a825 100644 --- a/inc/classes/third_party/php_mailer/class.pop3.php +++ b/inc/classes/third_party/php_mailer/class.pop3.php @@ -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