Local SMTP server that can be used for testing and development - won't actually deliver mail [closed]
Papercut is likely what you want, though it is only compatible with Windows.
Another local test SMTP server application: https://nilhcem.github.io/FakeSMTP/