Skip to content

Released version 4.2.3

Latest

Choose a tag to compare

@dg dg released this 06 Nov 01:27
· 2 commits to master since this release
  • file configuration key – point it to a directory and every email is saved there as an .eml file instead of being sent, with DKIM signing, redirect and the Tracy panel working just as with a real transport
  • accessToken configuration key – XOAUTH2 straight from the config; pass a callable such as @App\GoogleOAuth::getAccessToken(...) and an expiring token is fetched fresh for every connection
  • CssInliner keeps your fallbacks – display: -webkit-box; display: flex survives inlining, within one rule and across rules, so an older email client still finds a value it understands
  • Message-ID now uses the domain of the sender (Sender or From) instead of the web server's host or the machine name
  • SmtpMailer now throws InvalidArgumentException for an unknown encryption (BC break) – a value such as 'TLS', 'starttls' or an empty string used to mean an unencrypted connection; use 'ssl', 'tls' or null. This also catches a dynamic %env% value the configuration schema cannot check
  • A persistent SMTP connection silently dropped by a firewall or NAT is now reopened within 5 seconds instead of after the full timeout
  • Two SMTP edge cases behave sensibly now: timeout: 0 leaves the limits to PHP's default_socket_timeout, and a rejected EHLO is reported as such, staying retryable in FallbackMailer when the rejection is temporary