You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because there was no activity within the last 4 months (and it is quite a long time). It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
Stale
This issue have not been touched for some time and if it doesn't change, it will be closed soon.
label
May 15, 2020
This issue has been automatically marked as stale because there was no activity within the last 4 months (and it is quite a long time). It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
Stale
This issue have not been touched for some time and if it doesn't change, it will be closed soon.
label
Sep 13, 2020
pk16011990
removed
the
Stale
This issue have not been touched for some time and if it doesn't change, it will be closed soon.
label
Sep 14, 2020
What is happening
http://docs.shopsys.com/en/8.0/introduction/faq-and-common-issues/#why-are-e-mails-sent-before-end-of-the-script-and-not-immediately mentions that it is possible to disable mail spooling by removing the option from swiftmailer.yml config. However, this causes the application to fail as https://github.com/shopsys/shopsys/blob/master/packages/framework/src/Model/Mail/Mailer.php is dependent on
@swiftmailer.transport.real
service that is not defined when the spooling is off (see https://stackoverflow.com/questions/21074756/symfony2-monolog-to-email-errors-why-swiftmailer-transport-real-is-non-existent)On my project, defining the service this way helped:
Expected result
The FAQ article mentions that you need to define
swiftmailer.transport.real
yourself when you disable spoolingThe text was updated successfully, but these errors were encountered: