An SMTP server that accepts everything and delivers nothing
When you build an application that sends emails (sign-ups, password resets, orders), you need to see what goes out without it reaching anyone. A test SMTP server accepts any message, stores it and shows it to you in an interface, but never delivers it to a recipient.
That way you check the subject, HTML, text, headers and attachments with your local environment's data, with no risk of emailing customers and without depending on a provider's connection or credentials.
Short answer
For a new project, use Mailpit: it runs on Windows, Linux, macOS and Docker, listens on port 1025 (SMTP) and 8025 (web) and is actively maintained. MailHog uses the same ports, but its latest release is from August 2020 and it's no longer maintained. Papercut SMTP is the alternative if you work on Windows and prefer a desktop app.
