-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Can I somehow pass a custom smtp server for an email address?
I suppose the 3rd parameter exchange should be changeable when running validate():
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
Metadata
Metadata
Assignees
Labels
No labels