Add no_smtp argument that allows us to validate only mx records witho… #49
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: karolyi/py3-validate-email#49
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/add-no_smtp_argument"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.