How to check if GFI MailEssentials is in Active Directory (AD) or SMTP mode?