From 7778b730704d23a53f6f191544727f4f53b37b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20B=C3=B6gner?= Date: Fri, 21 Nov 2025 13:34:15 +0100 Subject: [PATCH 1/2] Delete Inky Email Templating Language documentation The Inky framework has not been actively developed for about three years (last release in March 2022). In addition to Sass deprecations and other bugs, the project is generally no longer up to date when it comes to implementing email templates. In my opinion, it no longer makes sense to list the project as the only solution for designed emails. --- mailer.rst | 57 ------------------------------------------------------ 1 file changed, 57 deletions(-) diff --git a/mailer.rst b/mailer.rst index 6979c91bc31..330d03ffbbd 100644 --- a/mailer.rst +++ b/mailer.rst @@ -1255,62 +1255,6 @@ the entire email contents from Markdown to HTML: [Activate your account]({{ url('...') }}) {% endapply %} -.. _mailer-inky: - -Inky Email Templating Language -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Creating beautifully designed emails that work on every email client is so -complex that there are HTML/CSS frameworks dedicated to that. One of the most -popular frameworks is called `Inky`_. It defines a syntax based on some HTML-like -tags which are later transformed into the real HTML code sent to users: - -.. code-block:: html - - - - - This is a column. - - - -Twig provides integration with Inky via the ``InkyExtension``. First, install -the extension in your application: - -.. code-block:: terminal - - $ composer require twig/extra-bundle twig/inky-extra - -The extension adds an ``inky_to_html`` filter, which can be used to convert -parts or the entire email contents from Inky to HTML: - -.. code-block:: html+twig - - {% apply inky_to_html %} - - - - -

Welcome {{ email.toName }}!

-
- - {# ... #} -
-
- {% endapply %} - -You can combine all filters to create complex email messages: - -.. code-block:: twig - - {% apply inky_to_html|inline_css(source('@styles/foundation-emails.css')) %} - {# ... #} - {% endapply %} - -This makes use of the :ref:`styles Twig namespace ` we created -earlier. You could, for example, `download the foundation-emails.css file`_ -directly from GitHub and save it in ``assets/styles``. - .. _signing-and-encrypting-messages: Signing and Encrypting Messages @@ -2279,7 +2223,6 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`:: .. _`Google Gmail`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Google/README.md .. _`high availability`: https://en.wikipedia.org/wiki/High_availability .. _`Infobip`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Infobip/README.md -.. _`Inky`: https://get.foundation/emails/docs/inky.html .. _`league/html-to-markdown`: https://github.com/thephpleague/html-to-markdown .. _`load balancing`: https://en.wikipedia.org/wiki/Load_balancing_(computing) .. _`MailerSend`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/MailerSend/README.md From a82e55e1ad7696444c68177c983d9153793f537d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Bo=CC=88gner?= Date: Fri, 21 Nov 2025 14:52:49 +0100 Subject: [PATCH 2/2] Remove two more reference --- components/mime.rst | 2 +- mailer.rst | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/mime.rst b/components/mime.rst index c043b342ebc..8cc61b82fbc 100644 --- a/components/mime.rst +++ b/components/mime.rst @@ -106,7 +106,7 @@ Now, enable the extension:: $twig->addExtension(new CssInlinerExtension()); The same process should be used for enabling other extensions, like the -:ref:`MarkdownExtension ` and :ref:`InkyExtension `. +:ref:`MarkdownExtension `. Creating Raw Email Messages --------------------------- diff --git a/mailer.rst b/mailer.rst index 330d03ffbbd..f0f9e2e80d0 100644 --- a/mailer.rst +++ b/mailer.rst @@ -2219,7 +2219,6 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`:: .. _`Brevo`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Brevo/README.md .. _`default_socket_timeout`: https://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout .. _`DKIM`: https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail -.. _`download the foundation-emails.css file`: https://github.com/foundation/foundation-emails/blob/develop/dist/foundation-emails.css .. _`Google Gmail`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Google/README.md .. _`high availability`: https://en.wikipedia.org/wiki/High_availability .. _`Infobip`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Infobip/README.md