How to setup an IMAP email account on your iPhone - iPad

This guide explains how to configure your iPhone in order to send and receive mail using your cPanel hosting package as provided by Kanga Hosting. is used as a guide only, please use your real domain. There are a number of ways to configure your iPhone, this is one example that works for us on our servers.

1 - From the Main Menu tap the Settings app.

  1. Tap "Settings" app
  2. Tap "Mail, Contacts, Calendars"
  3. Tap "Add Account..."
  4. Tap "Other" (bottom option)
  5. Tap "Add Mail Account"
  6. Enter Name, address (full email, and password.
    (iPhone will attempt to guess your settings. Allow ~1 minute for it to fail.)
  7. Select IMAP.
    (It's the default. The option you've selected will be highlighted blue.)
  8. Under "Incoming mail server"
    1. Set "hostname" to
    2. Set "User name" to your "full email address"
    3. Set "password" to your password you created in cPanel
  9. Under "Outgoing mail server"
    1. Set "Host name" to
    2. Set "User name" to your "full email address"
    3. Set "password" to your email password you created in cPanel

Click Save and expect connection to fail. (Reason below)

Error Tips

1. If these settings do not work, take a look at any error message to see if it talks about Password issues and make sure your server name, user name (your complete email address), and password are typed in correctly.
When your iPhone Mail connects to your server, it by default attempts to connect using a SSL certificate connection. On shared servers, (which you are) the SSL certificate will look similar to iPhone mail is throwing an error because it is not seeing a SSL certificate for "", and instead it is seeing the certificate. This is common, and it is safe to ignore. Click "Connect" or "Details" and "Trust" the certificate and continue, you phone will the verify. To verify it is an certificate, click "Show Certificate", and you should see it listed.


Secure SSL/TLS Settings
Incoming Server:
IMAP Port: 993
POP3 Port: 995
Outgoing Server:
SMTP Port: 465 or 587
Authentication is required for IMAP, POP3, and SMTP. Via password

Non-SSL Settings
Incoming Server:
IMAP Port: 143
POP3 Port: 110
Outgoing Server:
SMTP Port: 26
Authentication is required for IMAP, POP3, and SMTP.


I Cannot See My IMAP Folders

Please read the Apple support page .

What is the IMAP Path Prefix?

The correct code is INBOX (all caps).

Setting up IMAP Mailbox Behaviours

At this stage is important because otherwise your Sent, Drafts and Trash will be stored locally on your iPhone, and you won’t be able to see them when accessing your mailbox from another computer or webmail.

Connect to correct IMAP folder

You will see that currently there is a little blue tick next to the Sent folder ON MY IPHONE. This causes no end of support calls! Just tap the Sent folder under ON THE SERVER.

After which you will be returned to the Advanced screen – repeat this process for the Drafts and Deleted folders, connecting them to the server’s Drafts and Trash folders respectively.

Dont Forget !!

Once you are back to the Advanced screen, don’t forget to tap Account (top left) to return to the Account screen, and then tap Done (top right) otherwise your advanced settings won’t be saved.

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:

  1. Go to Settings > Mail, Contacts and Calendars > {your email account} >Advanced.
  2. Select Deleted Mailbox.
  3. 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.

  1. Go to Settings > Mail, Contacts, Calendars > Fetch New Data.
  2. 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.

Was this answer helpful?

 Print this Article

Also Read

What is an MX Record

The purpose of this tutorial is to assist you in understanding what MX (mail exchange) records...

How to Trace an Email Address

This tutorial will teach how to trace an email address. This feature allows you to view how the...

How to Create an Auto Responder

This tutorial will teach you how to create an auto responder. You can use auto responders to...

How to Setup Android OS Email account

This article will show you how to setup email on a device running the Android OS. CREATE A NEW...

How to setup iPhone IOS Email Account

To setup email on your iPhone, please follow the following instructions:tap settingstap mail...