Bump PHPMailer from 6.5.3 to 6.7.1

This commit is contained in:
johnnyq
2023-01-17 11:52:49 -05:00
parent 7c1b3c9c57
commit c935faeff0
17 changed files with 355 additions and 155 deletions

View File

@@ -46,7 +46,7 @@ class POP3
*
* @var string
*/
const VERSION = '6.5.3';
const VERSION = '6.7.1';
/**
* Default POP3 port number.
@@ -337,7 +337,12 @@ class POP3
*/
public function disconnect()
{
$this->sendString('QUIT');
// If could not connect at all, no need to disconnect
if ($this->pop_conn === false) {
return;
}
$this->sendString('QUIT' . static::LE);
// RFC 1939 shows POP3 server sending a +OK response to the QUIT command.
// Try to get it. Ignore any failures here.