Quickly test mail sending through SMTP

In the past few days I’ve been working with a code where I needed to see whether the service successfully sends mails through SMTP. I did not want to use or set up an actual mail server locally. As is turns out Python has a oneliner to solve this situation. ...

August 4, 2021 · 1 min · Mátyás Budavári