jose_sam
asked on
Help me in finding the Server IP from an email address
Hello all,
I want to find the Ip of the machine of the SMTP server, given an email address.... I found there is some way of doing this thorught JNDI or something like that.... But its not so clear.. Can some one please give me a simple example that clearly shows how to do the above purpose?
Thanks in advance,
I want to find the Ip of the machine of the SMTP server, given an email address.... I found there is some way of doing this thorught JNDI or something like that.... But its not so clear.. Can some one please give me a simple example that clearly shows how to do the above purpose?
Thanks in advance,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
so you need to implement your own DNS libarary (or find some OpenSource)
ASKER
Thanks for the reply..
I want to do it from a java program... I am trying to develop an smtp server...
I want to do it from a java program... I am trying to develop an smtp server...
Or Runtime.exec nslookup until you can find the right libraries
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or if you are using Java 1.4 you can use JavaSoft's implementation
"DNS Service Provider for the Java Naming Directory InterfaceTM (JNDI)"
http://java.sun.com/j2se/1.4/docs/guide/jndi/jndi-dns.html
"DNS Service Provider for the Java Naming Directory InterfaceTM (JNDI)"
http://java.sun.com/j2se/1.4/docs/guide/jndi/jndi-dns.html
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
jose_sam:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between thetool721 , heyhey_ and tutran
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Venabili
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between thetool721 , heyhey_ and tutran
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Venabili
EE Cleanup Volunteer
ASKER
I want to do it from a java program... I am trying to develop an smtp server...