github PHPMailer/PHPMailer v7.0.1
PHPMailer 7.0.1

latest releases: v7.1.1, v7.1.0, v7.0.2...
6 months ago

Version 7.0.1 (November 25th, 2025)

  • Use From domain when generating CIDs in msgHTML.

  • Update to PHPCompatibility 10, resolve numerous PHPCS issues in PHP 8.5.

  • Revise GitHub actions for PHP 8.5 and experimental 8.6 tests.

  • Switch gmail example from the deprecated IMAP extension to use directorytree/imapengine for IMAP uploads.

  • Set htmlspecialchars() flags explicitly and consistently.

  • Convert XOAUTH2 token exceptions into PHPMailer Exceptions. The original exception is available as an inner exception.

  • Deprecate VERSION constants in POP3 and SMTP classes.

  • Remove dependency on roave/security-advisories; it's now built into composer 2.9.

  • Update Dutch, Esperanto, and Norwegian translations.

  • What's Changed

  • Improving docs and translations for deprecated useimap by @SirLouen in #3241

  • GH Actions: Bump the action-runners group with 2 updates by @dependabot[bot] in #3245

  • Add cid default domain by @mariuszkrzaczkowski in #3036

  • GH Actions: Bump github/codeql-action from 3.30.6 to 4.30.8 by @dependabot[bot] in #3247

  • Corrected Polish translation by @KaminskiDaniell in #3248

  • GH Actions: Bump github/codeql-action from 4.30.8 to 4.30.9 in the action-runners group by @dependabot[bot] in #3253

  • GH Actions: Bump actions/upload-artifact from 4.6.2 to 5.0.0 by @dependabot[bot] in #3258

  • GH Actions: Bump github/codeql-action from 4.30.9 to 4.31.0 in the action-runners group by @dependabot[bot] in #3259

  • Update phpmailer.lang-nb.php by @wera-as in #3252

  • Add XOAUTH2 token exception handling by @greew in #3261

  • Added missing Danish translations by @greew in #3262

  • GH Actions: Bump github/codeql-action from 4.31.0 to 4.31.2 in the action-runners group by @dependabot[bot] in #3264

  • Recreate Esperanto translations by @RobinvanderVliet in #3266

  • GH Actions: Bump JamesIves/github-pages-deploy-action from 4.7.3 to 4.7.4 in the action-runners group by @dependabot[bot] in #3268

  • Update Dutch translations by @RobinvanderVliet in #3267

  • Composer: remove roave/security-advisories by @jrfnl in #3269

  • GH Actions: allow test runs to succeed on fork by @jrfnl in #3270

  • GH Actions: update for the release of PHP 8.5 by @jrfnl in #3272

  • Tests: remove unused import use statements by @jrfnl in #3275

  • GH Actions: Bump github/codeql-action from 4.31.2 to 4.31.4 in the action-runners group by @dependabot[bot] in #3277

  • GH Actions: Bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #3278

  • Use PHPCompatibility 10.0.0(-alpha1) by @jrfnl in #3276

New Contributors

Full Changelog: v7.0.0...v7.0.1

Don't miss a new PHPMailer release

NewReleases is sending notifications on new releases.