diff --git a/pkg/ddevapp/drupal/drupal/settings.ddev.php b/pkg/ddevapp/drupal/drupal/settings.ddev.php index 86346eaaeae..4dcfda7937e 100644 --- a/pkg/ddevapp/drupal/drupal/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal/settings.ddev.php @@ -39,6 +39,7 @@ } // Override drupal/symfony_mailer default config to use Mailpit. +$config['symfony_mailer.settings']['default_transport'] = 'sendmail'; $config['symfony_mailer.mailer_transport.sendmail']['plugin'] = 'smtp'; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['user'] = ''; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass'] = ''; diff --git a/pkg/ddevapp/drupal/drupal10/settings.ddev.php b/pkg/ddevapp/drupal/drupal10/settings.ddev.php index 86346eaaeae..4dcfda7937e 100644 --- a/pkg/ddevapp/drupal/drupal10/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal10/settings.ddev.php @@ -39,6 +39,7 @@ } // Override drupal/symfony_mailer default config to use Mailpit. +$config['symfony_mailer.settings']['default_transport'] = 'sendmail'; $config['symfony_mailer.mailer_transport.sendmail']['plugin'] = 'smtp'; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['user'] = ''; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass'] = ''; diff --git a/pkg/ddevapp/drupal/drupal11/settings.ddev.php b/pkg/ddevapp/drupal/drupal11/settings.ddev.php index 86346eaaeae..4dcfda7937e 100644 --- a/pkg/ddevapp/drupal/drupal11/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal11/settings.ddev.php @@ -39,6 +39,7 @@ } // Override drupal/symfony_mailer default config to use Mailpit. +$config['symfony_mailer.settings']['default_transport'] = 'sendmail'; $config['symfony_mailer.mailer_transport.sendmail']['plugin'] = 'smtp'; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['user'] = ''; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass'] = ''; diff --git a/pkg/ddevapp/drupal/drupal9/settings.ddev.php b/pkg/ddevapp/drupal/drupal9/settings.ddev.php index 24aecfc39e3..d3f0cf07212 100644 --- a/pkg/ddevapp/drupal/drupal9/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal9/settings.ddev.php @@ -39,6 +39,7 @@ } // Override drupal/symfony_mailer default config to use Mailpit. +$config['symfony_mailer.settings']['default_transport'] = 'sendmail'; $config['symfony_mailer.mailer_transport.sendmail']['plugin'] = 'smtp'; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['user'] = ''; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass'] = '';