Debugging emails
The Saleor platform uses Mailhog to catch all the emails sent by the Saleor.
Pros of using Mailhog during development:
- Live preview of rendered emails.
- No need to send emails to external services.
- Test emails will be caught in the local environment, so there is no possibility of sending test data to actual customers.
- It eliminates the possibility of sending emails to non-existing addresses, hurting email reputation.
Configuration
Saleor Platform
There is no need for additional configuration. Everything works out of the box.
Local development environment
- Follow the installation guide.
- Set Mailhog SMTP server address (
smtp://localhost:1025
) at plugins configuration page for AdminEmails and UserEmails.
Access to the interface
Visit http://localhost:8025.