Merge pull request #2798 from czirkoszoltan/add-newline-after-pop3-quit

Add line ending \n after POP3 quit command
This commit is contained in:
Marcus Bointon 2022-10-25 16:44:55 +02:00 committed by GitHub
commit 00b7f5162a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ class POP3
*/
public function disconnect()
{
$this->sendString('QUIT');
$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.