New answers tagged

1 vote

How do I override settings.php for Symfony Mailer to use Mailhog for local development?

These are the correct overrides for Symfony Mailer for my setup. Just replace the host, port username and password with your own. The 'Perform TLS peer verification' tickbox is dealt with on the ...
ChumKui's user avatar
  • 139
0 votes

How can I programmatically stop webform from sending an email?

You can use hook_webform_handler_invoke_alter() to Conditionally enable or disable a handler: function Mymodulename_webform_handler_invoke_alter(\Drupal\webform\Plugin\WebformHandlerInterface $handler,...
mini's user avatar
  • 682

Top 50 recent answers are included