Select IMAP (default) or POP according to your needs (See POP vs IMAP)
Scroll down to Incoming Mail Server and enter all the relevant details, then do the same for Outgoing Mail Server, as in the screen below and then select Next.
Host Name:
Incoming mail server: has mail. before the domain name e.g. mail.example.com*
Outgoing mail server: has smtp. before the domain name e.g. smtp.example.com*
Ensure that User Name is the full email address
User Name & Password are the same for both Incoming & Outgoing servers