A Guide to Email Testing using MailHog (in localhost)
It can be a real headache to test contact forms or other outgoing emails from your website or application locally. To permit mail, you ought to configure your nearby web server and waste plenty of time expecting the mail to reach for your inbox, if it does at all. Furthermore, if you test with your personal email account as the sender, you risk damaging your email address. So, what should you do? You can use tools like MailHog and others, which are great for sending transactional emails.