PackageTrack
Sign in Get early access

nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

v4.2.1 10M downloads/mo #2269 most downloaded on Packagist nette/mail

What this package is like to depend on

Last release 5 days ago

18 Aug 2026

Release timing varies

gaps range from 8 days to 11 months

Rarely documented

notes for 9 of 43 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

43 releases · first in 2014

5 releases in the last 12 months

see the full history below

Release timeline

43 releases · May 2014 to Aug 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 43
  1. v4.2.1 18 Aug 2026
    Release notes

    🐛 Bug Fixes

    • Display names are no longer quoted when they don't need to be (#107). Since 4.2.0 any name outside plain ASCII – so every name with diacritics – got wrapped in a quoted-string before MIME encoding, which buried the quotes inside the base64 payload and decoded them as part of the name: Objednávky domena.cz arrived as "Objednávky domena.cz". Quoting is now reserved for characters that could genuinely restructure an address list (, ; : < > @ " \), so Kdo uteče, obědvá keeps its quotes and the DKIM fix from #102 stands, while ordinary accented names go out clean.
    Open source →
  2. v4.2.0 27 Jul 2026

    Nothing published for this version

  3. v4.1.2 19 May 2026
    Release notes
    • Interceptor – a new mailer wrapper that redirects all outgoing To/Cc/Bcc (plus read-receipt headers) to one fixed address, preserves the originals in X-Original-* headers, and optionally adds a subject prefix. No more sending test mail to real customers by accident. Wire it via DI with mail.redirect: [email protected] and it slots in automatically.
    • MailTracy Bar panel – a new Bridges/MailTracy/MailPanel subscribes to Interceptor::$onSent and lists each sent message (From / To+Cc+Bcc / Subject / Status) right in the Tracy Bar. Auto-registers in debug mode whenever the Interceptor is active; opt in or out explicitly with mail: debugger: true|false.
    • HtmlComposer – a standalone HTML pre-processing pipeline you can drive directly: opt in to inlineCss() (accumulates stylesheets across calls), embedImages($basePath), and let it handle <title> to subject extraction and plain-text alternative generation. Message::setHtmlBody() keeps working as a BC-friendly facade.
    Open source →
  4. v4.1.1 23 Apr 2026
    Release notes

    🐛 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
    Open source →
  5. v4.1.0 27 Mar 2026
    Release notes

    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.

    Open source →
  6. v4.0.4 01 Aug 2025
    Release notes
    • support for PHP 8.5
    • optimized global function calls
    • used attribute Deprecated
    Open source →
  7. v4.0.3 05 Oct 2024
    Release notes
    • SendmailMailer: the use of -f option in the mail command can be disabled (#98)
    • support for PHP 8.4
    Open source →
  8. v4.0.2 02 Oct 2023
    Release notes
    • SmtpMailer: fixed problem with empty response with slow SMTP server
    Open source →
  9. v4.0.1 23 Sep 2023
    Release notes
    • 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
    Open source →
  10. v4.0.0 26 Jan 2023

    Nothing published for this version

  11. v3.1.11 02 Nov 2023
    Release notes
    • support for PHP 8.3
    • SmtpMailer: fixed problem with empty response with slow SMTP server
    Open source →
  12. v3.1.10 18 Jan 2023

    Nothing published for this version

  13. v3.1.9 13 Oct 2022

    Nothing published for this version

  14. v3.1.8 25 Aug 2021

    Nothing published for this version

  15. v3.1.7 02 Jun 2021

    Nothing published for this version

  16. v3.1.6 24 Feb 2021

    Nothing published for this version

  17. v3.1.5 02 Nov 2020

    Nothing published for this version

  18. v3.1.4 02 Aug 2020

    Nothing published for this version

  19. v3.1.3 14 May 2020

    Nothing published for this version

  20. v3.1.2 25 Mar 2020

    Nothing published for this version

  21. v3.1.1 23 Feb 2020

    Nothing published for this version

  22. v3.1.0 01 Jul 2019

    Nothing published for this version

  23. v3.0.1 03 Jun 2019

    Nothing published for this version

  24. v3.0.0 01 Apr 2019

    Nothing published for this version

  25. v2.4.6 21 Nov 2018

    Nothing published for this version

  26. v2.4.5 18 Mar 2018

    Nothing published for this version

  27. v2.4.4 05 Dec 2017

    Nothing published for this version

  28. v2.4.3 13 Jul 2017

    Nothing published for this version

  29. v2.4.2 27 Jan 2017

    Nothing published for this version

  30. v2.4.1 31 Jul 2016

    Nothing published for this version

  31. v2.4.0 25 Jun 2016

    Nothing published for this version

  32. v2.3.5 10 Apr 2016

    Nothing published for this version

  33. v2.3.4 29 Nov 2015

    Nothing published for this version

  34. v2.3.3 05 Oct 2015

    Nothing published for this version

  35. v2.3.2 03 Jul 2015

    Nothing published for this version

  36. v2.3.1 17 Jun 2015

    Nothing published for this version

  37. v2.3.0 24 Feb 2015

    Nothing published for this version

  38. v2.2.5 03 Dec 2015

    Nothing published for this version

  39. v2.2.4 19 Jul 2015

    Nothing published for this version

  40. v2.2.3 15 Oct 2014

    Nothing published for this version

  41. v2.2.2 24 Aug 2014

    Nothing published for this version

  42. v2.2.1 23 Jun 2014

    Nothing published for this version

  43. v2.2.0 11 May 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive