8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3905acb + bc880d0 commit 3c1d229Copy full SHA for 3c1d229
cookbook/email/email.rst
@@ -138,6 +138,11 @@ template might look something like this:
138
{# Makes an absolute URL to the /images/logo.png file #}
139
<img src="{{ absolute_url(asset('images/logo.png')) }}"
140
141
+.. versionadded:: 2.7
142
+ The ``absolute_url()`` function was introduced in Symfony 2.7. Prior
143
+ to 2.7, the ``asset()`` function has an argument to enable returning
144
+ an absolute URL.
145
+
146
The ``$message`` object supports many more options, such as including attachments,
147
adding HTML content, and much more. Fortunately, Swift Mailer covers the topic
148
of `Creating Messages`_ in great detail in its documentation.
0 commit comments