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.
1 parent 90745db commit 4c4b0caCopy full SHA for 4c4b0ca
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
+ Support for creating absolute URLs with the ``asset()`` function will
143
+ be dropped in Symfony 3.0. Starting with Symfony 2.7, you should use
144
+ the ``absolute_url()`` function instead.
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