Symfony mail catcher (mailpit) refuses connection from code, works from console
I am trying to set up a development environment with Symfony running in Docker. Recently I installed the symfony/mailer package with the option to install a mailcatcher, which turned out to be axllent/mailpit.