Open Messaging and select Options > Settings > E-mail > Mailboxes. Open a mailbox. Select Connection settings.

Select from the following:

Some connection settings may be preset by your service provider. You may not be able to edit them.