CONN-420/421: Fixed the DirectMailPoller issue and direct database event...

... logger issue