diff --git a/mailer.rst b/mailer.rst index a6b5eb819d8..034f9bdfe97 100644 --- a/mailer.rst +++ b/mailer.rst @@ -1093,6 +1093,14 @@ the email contents:

Welcome {{ email.toName }}!

{# ... #} +By default this will create an attachment using the file path as filename: +``Content-Disposition: inline; name="cid..."; filename="@images/logo.png"``. +This behavior can be overridden by passing a name (the third argument): + +.. code-block:: html+twig + + My Logo + .. _mailer-inline-css: Inlining CSS Styles