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?