Click on the highlighted buttons and locations in each image

Choose the type of encrypted connection to use when communicating with the mail server. Via SSL or via TLS.

Or