We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can I somehow pass a custom smtp server for an email address?
I suppose the 3rd parameter exchange should be changeable when running validate():
https://github.com/mfbx9da4/deep-email-validator/blob/8bbd9597a7ce435f0a77889a45daccdd5d7c3488/src/smtp/smtp.ts#L11C68-L11C76
In java, retrieving the SMTP Server works like this:
public boolean isMXRecordValid(String email) { String domain = email.substring(email.indexOf('@') + 1); try { this.records = new Lookup(domain, Type.MX).run(); return this.records != null && this.records.length > 0; } catch (Exception e) { return false; } }
So I suppose when I get Mailbox not found error, the wrong smtp Server is used to connect.
Thank you in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can I somehow pass a custom smtp server for an email address?
I suppose the 3rd parameter exchange should be changeable when running validate():
https://github.com/mfbx9da4/deep-email-validator/blob/8bbd9597a7ce435f0a77889a45daccdd5d7c3488/src/smtp/smtp.ts#L11C68-L11C76
In java, retrieving the SMTP Server works like this:
public boolean isMXRecordValid(String email) { String domain = email.substring(email.indexOf('@') + 1); try { this.records = new Lookup(domain, Type.MX).run(); return this.records != null && this.records.length > 0; } catch (Exception e) { return false; } }
So I suppose when I get Mailbox not found error, the wrong smtp Server is used to connect.
Thank you in advance
The text was updated successfully, but these errors were encountered: