Mailhog, Drupal 7, and settings.local.php
If you’re having trouble getting Mailhog (I’m using it via Valet Plus) to intercept mail from your local Drupal 7 installation, add the following lines to your settings.local.php:
1 2 3 |
// Mailhog. $conf['smtp_host'] = '127.0.0.1'; $conf['smtp_port'] = '1025'; |