Go to the Outgoing Server Tab.
Check "My outgoing server (SMTP) requires authentication" and select "Use same settings as my incoming mail server."
Go to the Advanced Tab.
For Incoming server (IMAP), check “This server requires an encrypted connection (SSL)” and use the default port 993 is used for IMAP-SSL.
For Outgoing server (SMTP), check "This server requires an encrypted connection (SSL)" and use port 465 for SMTP-SSL. (If you have any trouble using Port 465, you may also try Port 587.)
Then Click “OK” and select Next Now click Finish and you are configured for IMAP-SSL and SMTP-SSL.