open fun testConnection(): Unit
Validate that this instance can connect to the server that it is configured for. Throws a MessagingException if the connection attempt failed.