Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] problem after mail spooling is disabled #1593

Closed
vitek-rostislav opened this issue Jan 16, 2020 · 4 comments
Closed

[docs] problem after mail spooling is disabled #1593

vitek-rostislav opened this issue Jan 16, 2020 · 4 comments
Labels
Documentation Something needs documentation or documentation is not clear or correct
Milestone

Comments

@vitek-rostislav
Copy link
Contributor

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:

swiftmailer.transport.real:
        class: Swift_SmtpTransport
        arguments: ['%mailer_host%']

Expected result

The FAQ article mentions that you need to define swiftmailer.transport.real yourself when you disable spooling

@vitek-rostislav vitek-rostislav added the Documentation Something needs documentation or documentation is not clear or correct label Jan 16, 2020
@stale
Copy link

stale bot commented 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.

@stale stale bot 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
@pk16011990
Copy link
Member

remove stale label

@stale stale bot removed the Stale This issue have not been touched for some time and if it doesn't change, it will be closed soon. label May 16, 2020
@stale
Copy link

stale bot commented Sep 13, 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.

@stale stale bot 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 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
@sslt sslt added this to the SSFW 9.2.0 milestone Jan 29, 2021
@grossmannmartin
Copy link
Member

Spooling is no longer supported after #2470. closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Something needs documentation or documentation is not clear or correct
Projects
None yet
Development

No branches or pull requests

4 participants