Last active
October 22, 2023 11:02
-
-
Save twfahey1/85ba41ed1b3cfcc083542dc1f08d92ba to your computer and use it in GitHub Desktop.
Drupal 10 - Symfony Mailer + Mailhog on Docksal - Local settings snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# If you have a SMTP setup, such as for example 'Postmark', where we have a config file `symfony_mailer.mailer_transport.postmark.yml`, | |
# this override would locally in Docksal make the Mailhog handler for what in prod is Postmark: | |
$config['symfony_mailer.mailer_transport.postmark']['configuration']['user'] = ''; | |
$config['symfony_mailer.mailer_transport.postmark']['configuration']['pass'] = ''; | |
$config['symfony_mailer.mailer_transport.postmark']['configuration']['host'] = 'mail'; | |
$config['symfony_mailer.mailer_transport.postmark']['configuration']['port'] = '1025'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment