File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes MX Record Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "MX Record" Watch "MX Record" New topic

MX Record

Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336

I am using JavaMail to send emails out from our application. The application is deployed on a Websphere server. We use a SMTP server (say A) which further relays our emails to the mail exchange.

We conducted a test to see what the response(e.g. exception) would be if our SMTP server A would go down. The problem we faced was that the emails were still going out and being received. A senior developer suggested me to look at our MX Record.
My question is -

1. Where does the MX Record reside? - On our application server or the SMTP server A?
2. How do we retrieve the MX Record(s) from the machine where it is setup?

Thanks in advance,
jQuery in Action, 3rd edition
subject: MX Record
It's not a secret anymore!