Setting Up Email for the Apple iPhone

Newer Versions of iPhone

In the directions below, wherever it says "yourdomain.com" substitute with your domain name.

  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 user@yourdomain.com), 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 mail.yourdomain.com
      (or your server host name or server's IP address)
    2. Set "username" to email@yourdomain.com
    3. Set "password" to your password
  9. Under "Outgoing mail server"
    1. Set "Host name" to mail.yourdomain.com
      (or your server host name or server's IP address)
    2. Set "User name" to email@yourdomain.com
    3. Set password to your password

You are now ready to send and receive emails via your iPhone.

If mail.yourdomain.com is not working for the incoming and outgoing server, you can try your IP address or server's host name. You can find your server name and IP in your welcome email or by contacting support.

Your server host name would look something like gator123.hostgator.com or something similar. Check your welcome email for the exact host name or contact support to find out what it is.

Older Versions of iPhone

You can also view our Video Tutorial for the older version of the iPhone.

Although most email settings are identical, the iPhone requires a special setting for the incoming and outgoing mail servers. Instead of using the defaults that are typically used in the email settings replace mail.yourdomain.com with yourservername.hostgator.com

If you aren't sure of the name of your server you can usually find it in the Stats on the left hand side of your cPanel. If you don't see it immediately, you can also try pressing CTRL+F and typing in "server name" and pressing enter. This should highlight and take you to the correct area. If you are still unable to find your server name you can contact one of our support agents via chat or phone and they will be happy to retrieve that information for you.

  1. Press the Home button and select Settings > Mail, Contacts, Calendars.
  2. Under Accounts, select Add Account...
  3. Select Other.
  4. Enter your name (which will show in the from field) and your full email address.
  5. Enter your email password and description (we recommend the full email address as your description).
  6. Press Save.
  7. Select IMAP or POP (what is the difference?)
  8. Under Incoming Mail Server, enter yourservername.hostgator.com as the Host Name. (Resellers use yourservername.websitewelcome.com. If this doesn't work try using your server's IP address. VPS and Dedicated use your server's IP address.)
  9. Enter the full email address as your User Name.
  10. Enter your email password and then scroll down.
  11. Enter the same information under Outgoing Mail Server.
  12. Press Save.

You are now ready to send and receive emails via your iPhone.


Troubleshooting

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).

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.