iPhone OS 2
iOS 8

It seems I’ve helped dozens of clients trying to set up IMAP mail on their iPhone. So I’ve finally decided to document this in a “How To” post. For those of you who’s ISPs do not support IMAP mail, at some point in the future I may do the same thing for POP setup. For those ready to tackle this … read on.
There are some quirks involved with setting up IMAP mail on the iPhone. Especially for those ISPs or mail providers who don’t support SSL (secure sockets layer). The default for iPhone is to create any account with SSL on. Some of the biggest confusion for first time users is how long it takes SSL to be negotiated the first time the IMAP account is set up, especially if your are doing it over Edge or 3G and not a Wi-Fi connection. But even with Wi-Fi the wait can seem like an eternity! And all the confusing error dialogs that are popped up for you to act upon. Hopefully I’ve documented all those situations.
Things you will need:
> Your iPhone
> A working eMail account set up with your hosting company.
> Your eMail account settings written down.
> Patience.
I would advise reading through the entire How-To before starting the process … just for your own sanity.
How To: Create An iPhone OS 2 IMAP Mail Account
TIP: With most eMail providers, your username will always be your FULL eMail address, unless otherwise noted.
- Select the IMAP tab
- Be certain to enter all information correctly.
- Be sure the Host Name for both Incoming Mail Server (IMAP) and Outgoing Mail Server (SMTP) do not contain the “@” symbol and instead use a period “.” as in: imap.yourdomain.com or smtp.yourdomain.com. It may also be that your SMTP and IMAP addresses are the same, as in: mail.yourhost.com , in which case you’d put mail.yourhost.com in both Host Name fields.
- Once all information entry is complete select the Save button. Now wait for iPhone Mail to negotiate your IMAP and SMTP settings with the mail server, depending on the network connection speed … this may take a while.
- If your mail provider does not do SLS you will get two error dialogs. One for IMAP and one for SMTP. PLEASE WAIT FOR EACH. No matter how long they take. See steps 8 and 9.
- If your mail provider does do SLS, you will get no errors. Unless you’ve typing errors. Move to step 10.
Now there is a new IMAP account on your iPhone. But the fun doesn’t stop there. Depending on your situation there are a few steps that you may or may not need to do. Those will be covered in the next few sections. We will need to also check that the IMAP folders are correctly associated with the iPhone folders for Drafts Mailbox, Sent Mailbox, and Deleted Mailbox.
If your mail provider does not support SSL follow from step 11.
If your mail provider (gMail) does support SSL jump to step 15.
TIP: Some ISPs block SMTP Port 25 if you are not connected to their network. To remedy this, some mail hosting companies allow sending on alternate port numbers.
My host, Bluehost.com allows SMTP via Port 26, which is great! No matter where I am, or what network I’m connected to I can send mail without errors or complaint. If you need to change the SMTP Server Port number do it in Step 16 in the Server Port field at the bottom, before continuing on.
When matching up folders on the server, your folder names may not be the same as my folders … but I think you’ll know which are which. There are only a few other items you can set. But I won’t go into great detail. You can select how long to hold onto deleted items. On my Mac, I empty the Deleted Items when I quit Mail.app. On the iPhone I have mine set for 1 day. This way I don’t end up with thousands of eMails taking up space in the Trash on the server.One other issue you may face. If when you launch iPhone Mail and you don’t see your folder hierarchy you may need to go to the Advanced settings of your account (on your iPhone) and in the field for “IMAP Path Prefix” enter the word INBOX in caps. That should allow you to see all your folders.
Other than that … you’re done! Press the physical Home button on your iPhone and launch iPhone Mail. That’s it.
Finally. As of iOS 4 you can only have one signature for your iPhone Mail, even if you have several eMail accounts. Hopefully Apple will address this in a future release. But until then, there are some great utilities out there that can get you through. Two of my faves are Pastebot from Tapbots LLC & TextExpander For iOS from Smile on My Mac. I may do posts on some of these at a later date.
For now …. go send some mail from your iPhone! Have fun!

I created a previous “How To” on the same subject many years ago and many versions of iOS ago. I decided it was time to “refresh” this “How To” with instructions for iOS 8. The only really important thing that has changed is the interface. Setting up an IMAP account is still pretty much the same as before. I hope this helps my clients as well as others looking to do this for the first time. Though the images are from an iPhone 6 they will be similar enough for any iOS device mail setup too.
There are some quirks involved with setting up IMAP mail on iOS. Especially for those ISPs or mail providers who don’t support SSL (secure sockets layer). The default for iOS is to create any account with SSL on. Some of the biggest confusion for first time users is how long it takes SSL to be negotiated the first time the IMAP account is set up, especially if your are doing it over a slower connection and not a Wi-Fi connection. Even with Wi-Fi the wait can seem like an eternity! Though I must say, in iOS 8 the wait has decreased from previous iOS releases. Your wait may vary, so please be patient.
Things you will need:
> Your iPhone
> A working eMail account set up with your hosting company.
> Your eMail account settings written down.
> Patience.
I would advise reading through the entire How-To before starting the process … just for your own sanity.
How To: Create An iOS 8 IMAP Mail Account
TIP: With most eMail providers, your username will always be your FULL eMail address, unless otherwise noted.
TIP: Once I’ve typed out the domain name in iOS, I will copy the YourDomain.com portion of the URL to the iOS clipboard. This way I can paste it in other fields as I’m filling out the IMAP info. It helps me to be much more accurate, especially on an iPhone.
- Be certain to enter all information correctly.
- Be sure the Host Name for both Incoming Mail Server (IMAP) and Outgoing Mail Server (SMTP) do not contain the “@” symbol and instead use a period “.” as in: imap.yourdomain.com or smtp.yourdomain.com. It may also be that your SMTP and IMAP addresses are the same, as in: mail.yourdomain.com , in which case you’d put mail.yourdomain.com in both Host Name fields.
- Once all information entry is complete select the Next button.
- Now wait for iOS to negotiate your IMAP and SMTP settings with the mail server, depending on the network connection speed … this may take a (long) while. Please be patient.
- If your provider does not use SSL you will get the “Cannot Connect” dialog (Step 8). Select “Yes” and carry on.
You now have a new IMAP account on your iPhone. But the fun doesn’t stop there!
Depending on your situation there are a few steps that you may or may not need to do. Those will be covered in the next few sections.
Change Your SMTP Port | Change SSL Setting
SSL: Most hosting companies do not use Secure Socket Layer (SSL). If that’s the case of your hosting company, continue on with this section.
SSL: Some ISPs block SMTP Port 25 if you are not connected to their network — for a multitude of reasons. To get around this restriction, some domain/mail hosting companies allow sending on alternate port numbers. Bluehost.com allows SMTP via Port 26, while my current hosting company A2 Hosting allows SMTP on port 2525. No matter where I am, or what network I’m connected to I can send mail without errors or complaint. If you need to change the SMTP Server Port number continue with Step 15 – Step 20.
Mapping iOS Mailboxes To IMAP Server Folders
This section is very important for IMAP users & must be done.
After setting up a new eMail account you MUST “map” the internal iOS Mailboxes (which are only local and only available to the iOS device) to the IMAP folders on your hosting company’s servers. This allows any other device — mobile or desktop — to read, write or save eMail to the same place. If this is not done, any sent, saved, or archived mail will only be on your local iOS device and defeat the purpose of IMAP.
On a Mac using Apple Mail.app and on iOS devices, the default mailboxes (folders) are named differently than any other operating system. In Apple’s world the Mailboxes/Folders are named this way: Drafts = Drafts, Sent = Sent Messages, Trash = Deleted Messages, Archive = Archive.
On my Mac and iOS devices I set the “Archive Mailbox” to map to “Deleted Messages”. If I want to Archive anything I file messages by hand on my computer in my own folder filing system. Sometimes iOS will allow you to map the Archived Mailbox to Deleted Messages, sometimes not.There are only a few other items you can set. But I won’t go into great detail. You can select how long iOS will keep deleted items. On my Mac, I empty the Deleted Items when I quit Mail.app. On my iOS devices I have deletion set for 1 day, it’s the shortest time allowed. This way I don’t end up with thousands of eMails taking up space in the Trash on the server because I forget to “empty the trash”. This is also good for those who are allotted limited account server space. I can’t tell you how many clients I’ve seen with thousands of eMails in thier trash.
One other issue you may face. If you launch iOS Mail and you don’t see your folder hierarchy you may need to go to the Advanced settings of your account (on your iOS device) and in the field for “IMAP Path Prefix” enter the word INBOX in caps. That should allow you to see all your folders.
Other than that … you’re done! Press the physical Home button on your iPhone and launch iPhone Mail. Now you’re set to send and recieve mail from your iOS device.