packagist phpmailer/phpmailer v7.3.0
PHPMailer 7.3.0

one hour ago

This is a maintenance release fixing several long-standing issues.

  • The Azure OAuth example now uses ipwsystems/oauth2-entraid-provider instead of the abandoned greew/oauth2-azure-provider package, and also raises the minimum PHP version to 8.2 for that feature.
  • With SingleTo enabled, the sendmail and qmail transports no longer re-send to recipients of earlier messages (or duplicate recipients of the same message) when a PHPMailer instance is reused or preSend() is called more than once. Note that SingleTo has been deprecated for some time.
  • The Ical part is now also included in messages with embedded images. Added a calendar invitation example. See #175.
  • When an SMTP connection fails, the error detail now includes the underlying reason, such as a TLS certificate verification failure, instead of only "Failed to connect to server". See #1405.
  • getToAddresses(), getCcAddresses(), getBccAddresses(), getReplyToAddresses() and getAllRecipientAddresses() now accept an optional $includeQueued boolean argument to also return addresses with IDN that are queued until send() is called, and are thus otherwise invisible until that happens. See #2565.
  • Ensure that all trim calls have a consistent, explicit character list to avoid different behaviour in PHP 8.6.
  • OAuth requests that receive a refresh token will only update the stored refresh token if one is present in the response.
  • Further to the deprecation of parseAddresses() in 7.2.0, calling parseSimplerAddresses() when the IMAP extension is not available will no longer trigger a runtime notice. Plan to stop relying on PHPMailer for this function! See #3359.
  • DSNConfigurator now URL-decodes the username and password, so credentials containing characters such as @, : or / work when percent-encoded in the DSN.
  • DSNConfigurator boolean options now honour false, off, no and 0 instead of treating any non-empty string as true, and any other value throws an exception, like an unknown option does.
  • Make use of BadSMTP's message saving to apply DKIM tests to received messages.
  • Added Kazakh language translation, thanks to @rgusseinov.
  • Completed the German, French, Spanish, Italian, Portuguese, Brazilian Portuguese, Swedish and Catalan translations. See #24.

Many thanks to @markhutsefluts for changes in this version.

What's Changed

New Contributors

Full Changelog: v7.2.0...v7.3.0

Don't miss a new phpmailer release

NewReleases is sending notifications on new releases.