NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2000 most downloaded on Packagist
📧 Nette Mail: A handy library for creating and sending emails in PHP.
Last release 1 months 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
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
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.Nothing published for this version
One column per quarter.
Interceptor – a new mailer wrapper that redirects all outgoing To / Cc / Bcc (plus read-receipt headers) to one fixed address, preserves the originals
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: dev@example.com and it slots in automatically.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.Message::setHtmlBody() – survives large inline data: URIs. A >500 kB base64 payload used to exhaust PCRE's backtrack limit and abort the whole send; t
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)src="…" or url('…') contains spaces, like "holiday photos/beach.jpg" (#97)screenshot (1).png naming no longer silently breaks (#89)Subject and To headers, closing a deliverability gap at Gmail, Outlook, and other strict providers (#99)::marker, :hover, :checked no longer break inliningurl() quote combinations that previously tripped the parserThis release introduces CssInliner – a brand-new component that brings CSS-to-inline-style conversion directly into Nette Mail. The minimum PHP versio
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.
optimized global function calls
SendmailMailer: the use of -f option in the mail command can be disabled
SmtpMailer: fixed problem with empty response with slow SMTP server
SendmailMailer: fixed $commandArgs handling after 0e236e4 #93
Nothing published for this version
SmtpMailer: fixed problem with empty response with slow SMTP server
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →