{"version":"1.0","type":"rich","title":"fake smtp server on your local machine","description":"This example demonstrates a lightweight, disposable SMTP server for local development, capturing outgoing email messages without actually transmitting them. It runs entirely on the command line using Python’s built-in `smtpd` module with the `DebuggingServer` class, which prints each received message to the console. The server listens on `localhost:25` (standard SMTP port) and requires superuser privileges, as indicated by the `sudo` prefix. The approach relies solely on Python’s standard library, making it a portable, zero-dependency tool for inspecting email payloads during testing or debugging, with no external frameworks or data sources involved.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-74af3592abb299777a420e50e2eaa738?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}