oddyssey/mailtrap
A simple mailtrap extension for Magento 2.
Mailtrap is a service that lets you point your development instances at an SMTP server that accepts mail, but doesn’t deliver it. Instead mailtrap collects
all the mail in a single INBOX. If you’ve ever accidentally emailed an entire customer list with a subject line like
Subject: Testing, hope this s——t works.
you’ll instantly see the value.
The Magento extension is also a simple example of how to hook into the MagentoFrameworkMailTransport
class with a custom preference and change the behavior of the email system.