Step #1
From OS X Mail, select Preferences from the Mail menu.
From the Accounts panel, click on Add Account.
Step #2
In the box that comes up, select the Account Information tab, if it is not already selected, as shown below
From the Account Type pull-down menu, select IMAP. This option will leave your mail stored on the mail server, so that you will be able to access it from anywhere.
In the Description field, enter something that identifies this account, example: My Email.
In the Email Address field, enter your email login followed by your domain, example: example@domain.com.
In the Full Name field, enter your name as you wish it to appear on your outgoing messages.
Under Incoming Mail Server, type your provider, example: mail.domain.com.
Under Username, type your email login. If you wish the password to be stored, enter it in the Password field.
Under Outgoing Mail Server, select you provider, example: “mail.domain.com” from the pull-down menu.
If it is not listed there, select Add Server In the SMTP Server Options box, as shown below, enter mail.domain.com under Outgoing Mail Server. Leave the other settings as is. Click OK, and if it is not automatically selected, select mail.domain.com from the pull-down menu.
If your account doesn’t support IMAP, you must use the SMTP server of your network provider. If you are not sure what the outgoing mail server is, please contact your provider.
Step #3
Select the Advanced tab, under IMAP Path Prefix, enter mail/. This will subscribe any saved mail folders you may have on the server.
Step #4
Click OK. If you did not enter a password to be saved, you should now be prompted for one.