Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Update PHPMailer library to 6.8.1 (#242)
Browse files Browse the repository at this point in the history
No major changes noted in files used by ClassicPress
  • Loading branch information
mattyrob authored Oct 12, 2023
1 parent 3ef1f03 commit 3315d40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/PHPMailer/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ class PHPMailer
*
* @var string
*/
const VERSION = '6.8.0';
const VERSION = '6.8.1';

/**
* Error severity: message only, continue processing.
Expand Down Expand Up @@ -795,7 +795,7 @@ class PHPMailer
* The maximum line length supported by mail().
*
* Background: mail() will sometimes corrupt messages
* with headers headers longer than 65 chars, see #818.
* with headers longer than 65 chars, see #818.
*
* @var int
*/
Expand Down
6 changes: 3 additions & 3 deletions src/wp-includes/PHPMailer/SMTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SMTP
*
* @var string
*/
const VERSION = '6.8.0';
const VERSION = '6.8.1';

/**
* SMTP line break constant.
Expand Down Expand Up @@ -704,7 +704,7 @@ public function close()
* Send an SMTP DATA command.
* Issues a data command and sends the msg_data to the server,
* finalizing the mail transaction. $msg_data is the message
* that is to be send with the headers. Each header needs to be
* that is to be sent with the headers. Each header needs to be
* on a single line followed by a <CRLF> with the message headers
* and the message body being separated by an additional <CRLF>.
* Implements RFC 821: DATA <CRLF>.
Expand Down Expand Up @@ -732,7 +732,7 @@ public function data($msg_data)
$lines = explode("\n", str_replace(["\r\n", "\r"], "\n", $msg_data));

/* To distinguish between a complete RFC822 message and a plain message body, we check if the first field
* of the first line (':' separated) does not contain a space then it _should_ be a header and we will
* of the first line (':' separated) does not contain a space then it _should_ be a header, and we will
* process all lines before a blank line as headers.
*/

Expand Down

0 comments on commit 3315d40

Please sign in to comment.