Skip to content

Commit

Permalink
fix: Drupal - switch to sendmail transport always in settings.ddev.php (
Browse files Browse the repository at this point in the history
ddev#6192) [skip ci]

Co-authored-by: Víctor Dorado <[email protected]>
Co-authored-by: Christian López Espínola <[email protected]>
  • Loading branch information
3 people authored Jun 2, 2024
1 parent 917232b commit 346f592
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ddevapp/drupal/drupal/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = '';
Expand Down
1 change: 1 addition & 0 deletions pkg/ddevapp/drupal/drupal10/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = '';
Expand Down
1 change: 1 addition & 0 deletions pkg/ddevapp/drupal/drupal11/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = '';
Expand Down
1 change: 1 addition & 0 deletions pkg/ddevapp/drupal/drupal9/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = '';
Expand Down

0 comments on commit 346f592

Please sign in to comment.