Fake SMTP server not supporting auth #387
Unanswered
Karine-Bauch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Fake SMTP server not supporting auth
I have a function that create a SMTP client, login onto a server, and send mails.
I want to create a unit-test with a fake SMTP server that will write the email content into a io stream instead of sending the email.
Everything works great except the login part that raise this error:
MRE
Requirements
Tentatives to fix:
Add an Authenticator
From documentation:
Result: Same error
Add
handle_AUTHandauth_MECHANISMalways returning AuthResult(success=True)Documentation
Result: Same error
What should I do to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions