Using an Environment
Mailhog provides a convenient and safe way of capturing outgoing emails from your environment. More details about its functionality can be found here.
Mailhog provides a web interface where the emails can be seen. This is very useful when testing your application.
Release emails to their recipient(s)
Mailhog supports releasing individual messages out via SMTP to their original recipient(s), if required. This can be done as follows:
- Open the message from the Mailhog mailbox.
- Click on the "Release" icon
- Set your SMTP settings for an external SMTP server
- Click on the "Release message" button.