Changes for version v0.23.0 - 2026-05-11

  • html_to_inline(): new method; parses an HTML string, fetches all external assets (images, body backgrounds, optionally CSS via embed_css), rewrites their URLs to cid: references, and attaches each asset as an inline part; supports file:// URIs, per-instance in-memory cache, and optional persistent disk cache with If-None-Match / If-Modified-Since conditional requests
  • url_to_inline(): new method; fetches an HTML page from a URL then delegates to html_to_inline(); base_url is deduced automatically from the page URL directory if not provided explicitly
  • build(): new keys html_to_inline and url_to_inline, forwarded to the respective methods
  • as_entity(): restructured MIME tree for plain + html + inline: multipart/alternative( text/plain, multipart/related( text/html, images ) ) instead of the previous multipart/related wrapping multipart/alternative; inline parts without a Content-ID now return an explicit error
  • related(): new method; sets the HTML body and attaches inline parts in one call; requires cid: references to already be present in the HTML
  • build(): new key related, forwarded to related()

Documentation

Modules

APR::Const-like constants for MM::Table
Pure-Perl mimic of APR::Table (multi-valued, case-insensitive table)
Strict, Fluent MIME Email Builder
MIME Body Base Class for Mail::Make
On-Disk Body for Mail::Make
In-Memory Body for Mail::Make
MIME Part Builder for Mail::Make
Mail::Make Exception Class
OpenPGP signing and encryption for Mail::Make
Mail Header Collection for Mail::Make
Content-Disposition Header Field Object
Typed Content-Transfer-Encoding Header for Mail::Make
Content-Type Header Field Object
Base Class for Mail::Make Header Objects
Typed Message-ID Header for Mail::Make
RFC 2047 Aware Subject Header for Mail::Make
S/MIME signing and encryption for Mail::Make (RFC 5751)
Stream Infrastructure for Mail::Make Encoders
Streaming Base64 Encoder/Decoder for Mail::Make
Streaming Quoted-Printable Encoder/Decoder for Mail::Make

Provides

in lib/MM/Table.pm