Skip to content

Commit 91fd86a

Browse files
committed
Adding note about searching for past requests to find email profile information - on a tip from @stof
1 parent b0c89ae commit 91fd86a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

cookbook/email/dev_environment.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,17 @@ If you're sending an email and then immediately redirecting to another page,
124124
the web debug toolbar will not display an email icon or a report on the next
125125
page.
126126

127-
Instead, you'll need to set the ``intercept_redirects`` option to ``true`` in
128-
the ``config_dev.yml`` file, which will cause the redirect to stop and allow
127+
Instead, you can set the ``intercept_redirects`` option to ``true`` in the
128+
``config_dev.yml`` file, which will cause the redirect to stop and allow
129129
you to open the report with details of the sent emails.
130130

131+
.. tip::
132+
133+
Alternatively, you can open the profiler after the redirect and search
134+
by the submit URL used on previous request (e.g. ``/contact/handle``).
135+
The profiler's search feature allows you to load the profiler information
136+
for any past requests.
137+
131138
.. configuration-block::
132139

133140
.. code-block:: yaml

0 commit comments

Comments
 (0)