Make WordPress Core


Ignore:
Timestamp:
11/26/2021 12:41:54 AM (3 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Upgrade PHPMailer to version 6.5.3.

The latest release includes official PHP 8.1 support, as well as some small bug fixes, including one for PHP 5.6 cross-version support.

Release notes:

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.5.1...v6.5.3

Follow-up to [50628], [50799], [51169], [51634], [51635].

Props jrf, Synchro.
Fixes #54514.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/PHPMailer/SMTP.php

    r51634 r52252  
    3636     * @var string
    3737     */
    38     const VERSION = '6.5.1';
     38    const VERSION = '6.5.3';
    3939
    4040    /**
     
    393393                $socket_context
    394394            );
    395             restore_error_handler();
    396395        } else {
    397396            //Fall back to fsockopen which should work in more places, but is missing some features
     
    408407                $timeout
    409408            );
    410             restore_error_handler();
    411         }
     409        }
     410        restore_error_handler();
    412411
    413412        //Verify we connected properly
     
    697696     * Send an SMTP DATA command.
    698697     * Issues a data command and sends the msg_data to the server,
    699      * finializing the mail transaction. $msg_data is the message
     698     * finalizing the mail transaction. $msg_data is the message
    700699     * that is to be send with the headers. Each header needs to be
    701700     * on a single line followed by a <CRLF> with the message headers
     
    11711170            $this->setError('No HELO/EHLO was sent');
    11721171
    1173             return;
     1172            return null;
    11741173        }
    11751174
     
    11831182            $this->setError('HELO handshake was used; No information about server extensions available');
    11841183
    1185             return;
     1184            return null;
    11861185        }
    11871186
Note: See TracChangeset for help on using the changeset viewer.