Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain valition error while validating using mx records(JMail.validator().requireValidMXRecord();) #207

Open
2 tasks done
sai-ram-1661 opened this issue Jan 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sai-ram-1661
Copy link

sai-ram-1661 commented Jan 22, 2024

Is this bug report about an incorrectly validated email address?

  • Yes

If yes, what is the email address?
familiashoafkozak@gmail.co

  • Invalid

If no, please describe the bug

Additional context

I have added JMail into my project And I have passed a email address (familiashoafkozak@gmail.co) which I have validated in my project using ( JMail.validator().requireValidMXRecord(); ) is giving me out put false which means it is invalid .but while I am using (https://www.rohannagar.com/jmail/) it is showing it as valid email address

@sai-ram-1661 sai-ram-1661 added the bug Something isn't working label Jan 22, 2024
@RohanNagar
Copy link
Owner

Hi @sai-ram-1661, thank you very much for the bug report. I am also seeing this behavior (invalid locally but valid with the online validator).

Unfortunately validating based on the domain having a valid MX record can be a little dependent on the system that JMail is being run on since it uses the local DNS resolver to determine if there is an MX record.

Can you tell me what you expect for this email address? Do you expect it to be valid or invalid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants