Skip to content

Releases: nette/mail

Released version 4.1.1

23 Apr 22:32
@dg dg

Choose a tag to compare

🐛 Bug Fixes

  • Message::setHtmlBody() – survives large inline data: URIs. A >500 kB base64 payload used to exhaust PCRE's backtrack limit and abort the whole send; the regex is now backtracking-free (#79)
  • Message::setHtmlBody() – embeds images whose quoted src="…" or url('…') contains spaces, like "holiday photos/beach.jpg" (#97)
  • Message::setHtmlBody() – embeds images whose quoted path contains parentheses, so the classic screenshot (1).png naming no longer silently breaks (#89)
  • SendmailMailer – signs the full message so DKIM now covers Subject and To headers, closing a deliverability gap at Gmail, Outlook, and other strict providers (#99)
  • MimePart – quotes address phrases containing special characters before MIME-encoding, producing spec-compliant headers even when names include commas, angle brackets, or quotes (#102)
  • CssInliner – gracefully skips selectors the DOM engine can't evaluate; pseudo-classes and pseudo-elements like ::marker, :hover, :checked no longer break inlining
  • CssInliner – tokenizer regex fixed for very long strings and invalid url() quote combinations that previously tripped the parser

Released version 4.1.0

27 Mar 01:21
@dg dg

Choose a tag to compare

This release introduces CssInliner – a brand-new component that brings CSS-to-inline-style conversion directly into Nette Mail. The minimum PHP version has been raised to 8.2, and static analysis is now a mandatory part of the build pipeline.

  • Minimum PHP version raised from 8.0 to 8.2 – time to upgrade if you haven't already

  • Improved PHPDoc types and descriptions for better IDE support and static analysis accuracy

  • CssInliner – converts <style> rules into inline style attributes, making your HTML emails render consistently across email clients. Features a single-regex tokenizer, full CSS nesting support, Dom\HTMLDocument selector matching (PHP 8.4+), and automatic Outlook-compatible HTML attribute generation (bgcolor, width, align, etc.). <style> tags are preserved so @media queries keep working.

Released version 4.0.4

30 Oct 22:41
@dg dg

Choose a tag to compare

  • support for PHP 8.5
  • optimized global function calls
  • used attribute Deprecated

Released version 4.0.3

04 Oct 23:02
@dg dg

Choose a tag to compare

  • SendmailMailer: the use of -f option in the mail command can be disabled (#98)
  • support for PHP 8.4

Released version 4.0.2

02 Nov 23:21
@dg dg

Choose a tag to compare

  • SmtpMailer: fixed problem with empty response with slow SMTP server

Released version 3.1.11

02 Nov 23:20
@dg dg

Choose a tag to compare

  • support for PHP 8.3
  • SmtpMailer: fixed problem with empty response with slow SMTP server

Released version 4.0.1

23 Sep 00:57
@dg dg

Choose a tag to compare

  • support for PHP 8.3
  • SendmailMailer: fixed $commandArgs handling after 0e236e4 #93
  • SmtpMailer: adds 'To: undisclosed-recipients' header when a mail is with only Bcc recipients (#92)
  • used #[\SensitiveParameter] to mark sensitive parameters

Released version 4.0.0

13 Jan 05:23
@dg dg

Choose a tag to compare

  • requires PHP 8.0
  • SmtpMailer & DkimSigner constructor: $options changed to parameters (BC break)
  • SendmailMailer: uses CRLF for message
  • SendmailMailer: 'From' is passed as cmd argument [Closes #78]
  • constants are PascalCase
  • deprecated magic properties (BC break)

Released version 3.1.10

18 Jan 05:44
@dg dg

Choose a tag to compare

  • MailExtension: renamed option 'secure' -> 'encryption'
  • composer: allows nette/utils 4.0

Released version v3.1.9

18 Nov 03:05
@dg dg

Choose a tag to compare

  • support for PHP 8.2
  • private constants are PascalCase
  • cs