In reply to Peter.

If you create a plugin or theme I'm sure you won't do this on live server. DevKinsta gives you an in-app MailHog, SSL and MyKinsta integration.