diff --git a/mailer.rst b/mailer.rst index 4d54c3bef00..53a3a50e0ff 100644 --- a/mailer.rst +++ b/mailer.rst @@ -235,7 +235,7 @@ Embedding Images If you want to display images inside your email, you must embed them instead of adding them as attachments. When using Twig to render the email -contents, as explained `later in this article `_, +contents, as explained :ref:`later in this article `, the images are embedded automatically. Otherwise, you need to embed them manually. First, use the ``embed()`` or ``embedFromPath()`` method to add an image from a @@ -347,6 +347,8 @@ the ``TemplatedEmail`` class: // ... ; +.. _reference-mailer-twig-embedding-images: + Embedding Images ~~~~~~~~~~~~~~~~