is the `mail_catcher` service behavior and usage documented somewhere?
is the mail_catcher
service behavior and usage documented somewhere?
Comments
-
I only know of this page here: https://docs.spryker.com/docs/scos/dev/the-docker-sdk/202204.0/configure-services.html#configure-mailhog
0 -
I don't get how it works, on that page it has that custom_endpoints setting but in docker/generator/src/templates/env/common.env.twig it hard codes the host to mail_catcher
0 -
I can't even override those in deploy.yml
0 -
or disable the whole thing, how do I do that π
0 -
you can test via forgot password or subscribe for the newsletter
0 -
ah I misunderstood ... I thought you want to test it
0 -
well that would be a good start
0 -
as I see it the defaults cannot work
0 -
it does work for me with almost the default dev docker setup, tested with both scenarios above
0 -
subscribe to the newsletter with your email, it should popup in the mailhog inbox
0 -
-
so now I need to figure out how to disable mailhog
0 -
well or just give up since it works in the cloud env π
0 -
so that doc is a bit misleading, you don't need that
0 -
also if I need to test actual sending locally I would just use my own ENV variables in config.php
0 -
I found this in the env files of the docker sdk
SPRYKER_SMTP_HOST=mail_catcher SPRYKER_SMTP_PORT=1025
0 -
I suppose you've either configure DSN for the corresponding provider available (https://symfony.com/doc/current/mailer.html) or create and register your custom provider
0 -
Mail catcher is needed for the local development. Can be enabled or disabled via deploy file - https://github.com/spryker-shop/suite/blob/master/deploy.dev.yml#L257-L260.
If you need to disable it, just remove it from the deploy file.
Don't forget to rundocker/sdk bootstrap {your_deploy_file}
each time you make changes there.
In our PaaS mail catcher isn't available OOTB as there is AWS SES in place.0 -
yeah I figured it out. Not the best documentation on that..
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random