Skip to content

Commit c6e3cba

Browse files
committed
Minor reword
1 parent f59f790 commit c6e3cba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

email/spool.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ interval.
152152
If you use the memory spool, this change is transparent and has no impact.
153153
But when using the filesystem spool, the message class is serialized in
154154
a file with the randomized class name. The problem is that this random
155-
class name changes on every cache clear. So if you send a mail and then you
156-
clear the cache, the message will be unserializable.
155+
class name changes on every cache clear.
157156

158-
On the next execution of ``swiftmailer:spool:send`` an error will raise because
159-
the class ``Swift_Message_<someRandomCharacters>`` doesn't exist (anymore).
157+
So if you send a mail and then you clear the cache, on the next execution of
158+
``swiftmailer:spool:send`` an error will raise because the class
159+
``Swift_Message_<someRandomCharacters>`` doesn't exist (anymore).
160160

161161
The solutions are either to use the memory spool or to load the
162162
``swiftmailer`` service without the ``lazy`` option (see :doc:`/service_container/lazy_services`).

0 commit comments

Comments
 (0)