I've been a happy pytest-localserver for a while now. It works great for SMTP. Since we moved from GSuite to self-hosted email, it became clear to me that sent emails are no longer automatically appearing in the Sent folder. So I now had add code to connect to the IMAP server and append the message to the Sent folder. It'd be useful if pytest-localserver would also provide support for IMAP.
I've been a happy
pytest-localserverfor a while now. It works great for SMTP. Since we moved from GSuite to self-hosted email, it became clear to me that sent emails are no longer automatically appearing in theSentfolder. So I now had add code to connect to the IMAP server and append the message to theSentfolder. It'd be useful ifpytest-localserverwould also provide support for IMAP.