title: Check if relaying is enabled
body: <p>I'm writing a small utility application that as an end result will fire off an email with its status.</p>
  
  <p>Is there any way that I can find out before I send the email if the computer has relay access to the email server?</p>
  
  <p>I would prefer the application to give the user an error message on setup/before any processing gets done.</p>
  
  <p>Should I fire off an email to invalidaddress@domain.com and see if I get a relay Exception?</p>