verifies authentication to an smtp server