Newer Versions of iPhone
In the directions below, wherever it says "yourdomain.com" substitute with your domain name.
- Tap "Settings" app
- Tap "Mail, Contacts, Calendars"
- Tap "Add Account..."
- Tap "Other" (bottom option)
- Tap "Add Mail Account"
- Enter Name, address (full email user@yourdomain.com),
and password.
(iPhone will attempt to guess your settings. Allow ~1 minute for it to fail.) - Select IMAP.
(It's the default. The option you've selected will be highlighted blue.) - Under "Incoming mail server"
- Set "hostname" to
mail.yourdomain.com
(or your server host name or server's IP address) - Set "username" to email@yourdomain.com
- Set "password" to your password
- Set "hostname" to
mail.yourdomain.com
- Under "Outgoing mail server"
- Set "Host name" to
mail.yourdomain.com
(or your server host name or server's IP address) - Set "User name" to email@yourdomain.com
- Set password to your password
- Set "Host name" to
mail.yourdomain.com
You are now ready to send and receive emails via your iPhone.
Troubleshooting:
What is the IMAP Path Prefix?
The correct code is INBOX (all caps).
I Cannot Delete Emails
By default, iOS attempts to delete IMAP email by putting it in the phones trash. This causes an error to come up saying that the messages could not be moved to the trash folder.
To fix this:
- Go to Settings > Mail, Contacts and Calendars > {your email account} > Advanced.
- Select Deleted Mailbox.
- In the On Server section, select the Trash box under the server. This will allow you to remove email from an iPhone or iPod.
Too Many Connections - 500 Errors?
On the iPhone there is a function called "push," and when it is enabled it keeps the connection to our server open and continually checks mail. Consequently, this creates many IMAP processes and eventually conflicts with our Terms of Service.
To avoid running excessive IMAP processes, you can disable push when you don't need it.
- Go to Settings > Mail, Contacts, Calendars > Fetch New Data.
- Toggle Push to Off.
Now, instead of retrieving emails continuously as they arrive, your iPhone will use the global Fetch setting to retrieve emails manually or at intervals.