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

Cannot Verify Server Identity

When connecting to your email, the iPhone forces a secure connection for its initial connection attempts. If your server is using a self signed certificate, you may receive a warning similar to this. This means that the SSL encryption for the server is not registered with a company that issues SSL certificates.

The following article will provide more information about this warning:

It's important to note, that while you can avoid seeing this warning by forcing the iPhone to connect with unsecure connections, you are only using a less secure connection in a way that does not resolve the issue.

The recommended resolution for this error is to accept the certificate as a trusted certificate:

  1. When you receive the popup with this error, click Details.
  2. On the next screen, click Accept.

You should not be able to access your email.

Cannot Connect Using SSL

If your domain does not have an SSL certificate and if you are not using the server name, you may receive this error. To attempt to proceed with the settings you have already provided, you may attempt to connect without SSL:

  1. From the error menu, select No, you do not want to try setting up the account without SSL, and then tap Save.
  2. Tap the email account you just attempted to set up, and then scroll down to tap SMTP.
  3. Tap the Primary Server.
  4. Tap OFF to turn the SSL setting on, and then tap Server Port to change it to 465.
  5. Tap Done.
  6. Tap AT&T SMTP Server and then tap OFF to turn the server on.
  7. Tap Done.
  8. Tap Account Info, and then tap Advanced.
  9. Verify the incoming Use SSL setting is set to OFF.
  10. Tap Account Info, and then tap Done.

If your settings are correct for reaching your server, you should now be able to access your email.

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.