Add no_smtp argument that allows us to validate only mx records witho…
#49
Merged
sergeyshevch
merged 3 commits from feature/add-no_smtp_argument
into master
2 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'feature/add-no_smtp_argument'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Hi!
For our proposes, we need to validate only MX records without SMTP requests.
So in some places (registration, forgot password), we will use full validation with SMTP requests.
In other places, we will use validation without SMTP requests.
I have added tests that validate that my changes work correctly. Also, this argument was added at the end of the arguments list with default, to provide backward compatibility.
hey,
the
check_mx
parameter stands exactly for this purpose. did you not discover it?Yes we need to check_mx records but not send SMTP responses
Yeah, I see now.
Could you also add the parameter in the README please?
Ok, I will do it today
Done. @karolyi Can you make a release after merging it?
I will use the package directly from PyPI instead of my fork repo.
If the travis build with the test checks out, I'll make a release.
@karolyi Some tests are failing now but were passed correctly in
8f08c01
Can you look on it?
the tests failing is not on you, I'll have to fix it, update and release coming soon.
81f5769ac8
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.