smtp4dev is a fake SMTP mail server for developers who need to test email sending without delivering real messages. Instead of passing messages on to the internet, it catches them so the contents, headers and attachments can be inspected in a local window. It is aimed at people building or debugging applications that send mail.
It runs on Windows and is available through winget. The source code is public on GitHub under the BSD-3-Clause license, so it can be read, built and reused under those terms. The maker is Robert N Wood.
Alternatives to smtp4dev
Products that do a similar job in Developer Tools.
MailDev
Local SMTP server with a web inbox for testing outgoing email
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
Hoppscotch
Open-source API client for REST, GraphQL and other HTTP requests
ripgrep
command-line search tool that finds regex matches across directory trees
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal