Question #465
Replies: 1 comment 2 replies
-
|
Hi Francisco, Thanks for reaching out. The motivation behind
However, the approach of starting an SMTP server and accepting a connection carries several issues, among them:
With the advantage of hindsight, I wouldn't use a server if I were to start the project today. My preference would be to have a fully-featured I hope this helps. It you have more questions, please don't hesitate to add to this discussion thread. -James P.S. Ironically, I never ended up using smtpdfix myself. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi James, I came across smtpdfix —building an SMTP server as a pytest fixture
with real TLS and auth support tells me you hit friction that the simple
mock_smtp approach couldn't solve.
I'm researching that exact problem. What was the hardest part to get right
when testing email-dependent code in Python?
Beta Was this translation helpful? Give feedback.
All reactions