Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DomPixie/c3b68e5864969c34e0561d2680570e13 to your computer and use it in GitHub Desktop.
Save DomPixie/c3b68e5864969c34e0561d2680570e13 to your computer and use it in GitHub Desktop.
Magento 2 Mailhog SMTP config SQL
INSERT INTO core_config_data (`scope`,scope_id,`path`,value)
VALUES ('default',0,'smtp/configuration_option/host','mailhog');
INSERT INTO core_config_data (`scope`,scope_id,`path`,value)
VALUES ('default',0,'smtp/configuration_option/port','1025');
INSERT INTO core_config_data (`scope`,scope_id,`path`,value)
VALUES ('default',0,'smtp/configuration_option/authentication','plain');
INSERT INTO core_config_data (`scope`,scope_id,`path`)
VALUES ('default',0,'smtp/configuration_option/protocol');
INSERT INTO core_config_data (`scope`,scope_id,`path`,value)
VALUES ('default',0,'smtp/general/enabled','1');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment