Local SMTP server that can be used for testing and development – won’t actually deliver mail [closed] January 18, 2023 by Tarik Papercut is likely what you want, though it is only compatible with Windows.