Disable Mailhog?

Is there a way to disable mailhog temporarily? We need to test a transactional mail process and need to allow email to pass through during the testing.

Thanks!

Nevermind, I figured it out, I just skipped wp_mail. All good.

Hey Justin,

If you use a plugin that overrides wp_mail() and sends through SMTP or some type of API then it should skip MailHog/MailCatcher. MailHog/MailCatcher are only used if PHP’s sendmail is used.

You can also disable MailHog/MailCatcher by removing it from the sendmail option in the site’s php.ini file if you’re using the “Custom” environment.