title: Look up if Mail Server exists for list of emails
body: <p>is there a simple way to look up if a domain has a MX record or not using Delphi? I have a list of emails that I wish to verify work, I want to check each of the domains and see if a MX server even exists.</p>
  
  <p>Thanks.</p>
  
  <p>Edit: The email addresses I have are all from bounced email messages of error code: 5.4.0. But too many servers don't follow any standards and 5.4.0 error code itself can mean too much. I don't want to just remove all the email addresses found with that error code erroraneously, so I figure a better way is to first check if the domain or mx record don't exist and remove those for sure.</p>