Examples of DNSUtils


Examples of com.darwinsys.net.DNSUtils

  public boolean verifySender(final String user, final String host) throws IOException{
    PrintWriter out = null;
    try {
      String mxHost = null;
      try {
        mxHost = new DNSUtils(myDnsServer).findMX(host);
      } catch (NamingException e) {
        System.out.println("verifySender: cannot vrfy MX");
        return false; // Should be trinary, for "unknown"?
      }
      Socket s = new Socket(mxHost, SMTP_PORT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.