Simple Mailtrap integration for Magento 2
A simple Mailtrap extension for Magento 2
Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development and staging environments without spamming real customers.
Pull in the composer package:
composer require oddyssey/mailtrap --dev
Run the setup:
php bin/magento setup:upgrade
You can find the configuration by going to
Stores > Configuration > Oddyssey > Mailtrap. You'll need to enable the extension by setting
Yes. This will then display the fields for
Mailtrap Username and
Mailtrap Password. You can find these in your Mailtrap mailbox settings.