
API Support: You can use MailHog’s built-in HTTP API (or JSON API) to retrieve, list, and delete emails.It also includes support for SMTP AUTH and PIPELINING. Extended SMTP Support: Not only does MailHog support setting up a fake SMTP server, but you can also use it to set up an ESMTP server (Extended SMTP).
:max_bytes(150000):strip_icc()/change-your-ip-address-818150-8-8bf85697d3ec474c96c431c82a686da9.jpg)
That makes it highly portable to run it on almost any operating system or web server.
Change ip address local by flywheel uses install#
Lightweight and Portable: You don’t need to install MailHog to use it.MailHog comes equipped with many features out-of-the-box. It’s a powerful feature, and how you use the API is up to you. Lastly, MaiilHog also lets you retrieve those emails with an API for automated testing. It even stores the sent and received emails in a nifty web UI, so you can go through them just like you’d with a real email inbox. It sets up a fake SMTP server that you can set your web application to send and receive emails. It can hurt your private email’s credibility. Then you’ll have to make sure that the emails arrive successfully in your recipient’s inbox, which can end up wasting your time (and inbox space).Īnd then there’s the issue of using a real email address for testing. How an SMTP server works (Source: Wikimedia Commons)įirst, you need to set up your operating system, webserver, and web app to enable emails in a local environment. You can read our extensive guide on free SMTP servers to know more about how an SMTP server works. In a local development environment, it almost always never works due to multiple reasons. Typically, the web application’s default SMTP server takes care of this task. If you want to test a contact form or any other outgoing email from it, it can be a dire task. Say you’re developing a WordPress website in a local development environment. MailHog solves many of email testing’s major problems. MailHog is maintained by Ian Kent and released under the MIT license, so you can deploy it freely for personal and commercial uses.īut why do you even need MailHog in the first place? Why You Need MailHog It enables you to test your web app’s email sending and receiving capabilities more efficiently.īuilt with the Go programming language, MailHog can be run on multiple operating systems, including Windows, Linux, FreeBSD, and macOS. MailHog is an open source email testing tool primarily aimed at developers.

Change ip address local by flywheel uses how to#
Want to simplify local email testing? Get MailHog 📧 Learn how to deploy it easily on various platforms/configurations right here 👇 Click to Tweet Prefer to watch the video version?
