I’ve been running OS 2.0 on my (first-generation) iPhone for a week and a half now, and as I mentioned before, Exchange ActiveSync push email, calendaring, and contacts was one of the main things Iwas looking for when I upgraded. That article on setting up ActiveSync has since become my top blog post by far, pulling in literally thousands of hits per day, so I must not be alone in wanting this functionality.
But it turns out that the green grass of iPhone/Exchange integration has a tint of brown. Folks have experienced issues getting the service set up, and it guzzles battery juice like a toddler at a lemonade stand. Read on for my notes and suggestions…
Which Server?
By far the biggest problem folks have encountered when trying to enable Exchange ActiveSync on the iPhone has been finding the correct server name. Update: It turns out that Exchange 2007 has an Autodiscovery service for ActiveSync devices, and the iPhone supports and attempts to use this. But it will fail for anyone using Exchange 2003 or with an admin that turned this off…
If Autodiscovery fails, you have to manually enter the address. Most Exchange implementations have a variety of different servers these days, each with a unique hostname and IP address:
- The main Exchange server, which is normally only used for internal or VPN connections to Outlook using the MAPI/RPC protocol and often has an excitingly-weird name like em22dc.yourcompany.com. This is not what you are looking for.
- The external Exchange server for RPC over HTTPS connections from Outlook, which often has a nicer name like rpc.yourcompany.com. This is also not what you’re looking for.
- The Outlook Web Access server used by Entourage and for accessing mail using a web browser, which is often called “owa.yourcompany.com”. Getting warmer, but still not the right one.
- Entourage also uses an LDAP server, often called “ldap.yourcompany.com”, and might alias the OWA server as “dav.yourcompany.com”. Still not the right server for the iPhone.
- The one you want is the ActiveSync server, sometimes called “oma.yourcompany.com” since it’s mainly used for Outlook Mobile on Windows Mobile devices.
If your techies don’t know the first thing about the iPhone, change your tactics. Ask them which hostname they enter when configuring Windows Mobile smartphones and PDAs - these are very common, and this is the server you need with the iPhone!
One more thing: You might get lucky and find that one of those other server names works for the iPhone’s ActiveSync. This does not mean you’re using DAV or OWA on the iPhone - instead it means that they set up two services on the same hostname. But I haven’t seen this myself.
The Problem With Push
Let me start by saying that, so far, the push email experience with Exchange ActiveSync to the iPhone has been flawless for me. Amazingly, messages appear on my iPhone before they show up in Outlook on my PC, which is online with RPC over HTTPS. Whatever Apple (and Microsoft) did to enable push email certainly worked well! Perhaps a bit too well, though. After using ActiveSync push for a few days, I noticed that my battery was draining by early afternoon.
At first, I chalked this up to increased usage of the phone’s new features. But having spent the day (mostly) ignoring the phone while on vacation, I was shocked to see the battery icon turn red before dinner. Clearly something was eating my battery alive!
As an experiment, I turned off push in the iPhone’s Settings pane, opting for manual just to be safe. Are you surprised to learn that my battery was green all the next day? In fact, it barely used any power at all, even with 30-minute IMAP updates from Google Mail still running.
Clearly ActiveSync push is a major battery hog, and I would imagine that 3G would be even worse than the miserly EDGE in the first-generation phone! What to do? You’ve got just a few choices:
- Go back to IMAP fetch and lose Exchange integration (boo!)
- Leave push enabled but plan to charge up more often or use WiFi, which is much more battery-friendly.
- Switch Exchange from push to fetch, which leaves the integration intact but doesn’t guzzle the juice as quickly
- Switch Exchange to manual update, which is very battery-friendly
I have decided on option 3 when I’m out and about to conserve battery power, since most of my email can wait a few minutes. And if I’m low on juice, I’ll switch over to option 4. But if I’m in the office, with my most-excellent WiFi and broadband connectivity, I’m leaving push enabled.
I think it’s worth noting that the push settings are stored in a separate control panel from the other mail settings, which is either an odd gaffe or an indication that other non-mail push options will eventually be added here.
- There’s a master switch on the main panel (shown above) which is nice, since you can quickly turn off all push to conserve juice.
- I’d love another setting option of turning off push mail based on battery level or on a schedule, like the BlackBerry has.
- You can also tweak the master fetch schedule setting here.
- Tap Advanced, and you can set each account’s settings - select push, fetch, or manual for each account based on your own preferences. If I was using MobileMe for personal email, I might be tempted to turn off push just for that account, since my spam can wait!
- One more thing - notice that you can set the name of your mail accounts to something other than your email address. That’s done in each account’s settings panel.
Hopefully, these two suggestions will help the multitude of folks who are having problems with Exchange ActiveSync on the iPhone. Drop me a line if I can be of more help!
You might also want to read these other posts...









How To Set Up iPhone Exchange ActiveSync | Stephen Foskett, Pack Rat | 21-Jul-08 at 10:29 am | Permalink
[...] you’re having trouble, head over to my follow-up post on Exchange ActiveSync issues for [...]
dgeedgee | 21-Jul-08 at 11:18 am | Permalink
It is strange that in the Activesync setup they decided to have the phone try to guess the server name and make you wait for it to fail before giving you the opportunity to put in the server name.
Stephen | 21-Jul-08 at 12:30 pm | Permalink
Dgeedgee,
Yes this is indeed highly weird! In fact, I’m not sure exactly how they’re trying to guess it, or where they’re looking, but I know of no standard method of determining the correct server based only on an email address. Maybe there is some protocol specified by Microsoft, but it’s a mystery to me. Anyone else?
Stephen
jungleboy84 | 22-Jul-08 at 4:13 pm | Permalink
Very useful post. And like you I came to the same conclusion, though I use hourly updates for the Fetch.
In my case, I am on a number of company email lists which receive messages every 5 minutes - killing my battery. I do have filters (including server side ones, set through Outlook Web Access over Internet Explorer on a Windows XP VM!) to move messages addressed to me or cc’d to me in to a specific folder. But the general flood of messages was killing the iPhone’s battery.
My IT admin tells me that Outlook has specific push settings that allow users to set rules that say “push” specific emails. For example, you can set a rule to only push messages with to/cc set to your email address.
I haven’t found these settings yet. I am looking at Outlook Web Access over Internet Explorer on Windows XP VM for the same - but no luck yet.
Anybody know about said Outlook push settings?
jungleboy84 | 22-Jul-08 at 4:23 pm | Permalink
More on the subject from MSFT, comparing implemented features:
http://blogs.msdn.com/jasonlan/archive/2008/07/18/iphone-2-0-windows-mobile-for-push-email.aspx
and from Apple:
http://manuals.info.apple.com/en_US/Enterprise_Deployment_Guide.pdf
https://me.yahoo.com/pixelmystic#f465e | 22-Jul-08 at 6:40 pm | Permalink
Thanks for this great information. I have a 3G iPhone on order, and one thing I can’t seem to find a firm answer on is whether or not you really do need AT&T’s more expensive PDA Enterprise data plan, as opposed to its cheaper PDA Personal data plan, in order to sync with Exchange. The official word from AT&T, via their sales personnel, their website, and some online reviewsof the phone would have you believe that you need the more expensive plan, but I’ve also seen evidence to the contrary. So, does the cheaper data plan do the trick?
Stephen | 22-Jul-08 at 10:07 pm | Permalink
I can’t imagine that AT&T would be able to tell whether you were using ActiveSync or IMAP, so I can’t imagine you need an enterprise plan to use it on technical grounds. I’m using the same data plan as before…
https://me.yahoo.com/pixelmystic#f465e | 23-Jul-08 at 11:14 am | Permalink
Stephen,
If I understand correctly, there was, and is, only one data plan for the original iPhone, like yours. There are two data plans for the new phone, and of course the cheapest of those is more expensive than your plan, presumably because the new phone can pump more data through AT&T’s 3G network. But, regardless of price, the fact that they are even offering two plans, the more expensive of which is deemed an “Enterprise” plan, gives me pause. I have decided to be optimistic about being able to access Exchange, and use the phone’s VPN connectivity while operating under the cheaper data plan. Now, if my backordered phone would only hurry up and get here so I could find out for sure. . .
Steve
Stephen | 23-Jul-08 at 11:38 am | Permalink
Steve,
I think trying it out on the cheaper plan is the right choice. My understanding was that the Enterprise plans were for businesses who would presumably need extra support and would sign up customers in bulk.
The iPhone is different from the BlackBerry, where you need to get AT&T’s enterprise plan to use BES instead of BIS.
Please do try it and report back here on how it goes. I’m sure lots of others would love to know! And of course, you can always upgrade your plan if you need to.
https://me.yahoo.com/pixelmystic#f465e | 29-Jul-08 at 12:14 pm | Permalink
Steve,
I finally got my 3G iPhone and I’m happy to report that that cheaper (PDA Personal) data plan works just fine with Exchange. So, you were right: AT&T’s enterprise plan probably provides the same functionality for corporate customers, but at a higher price. Sort of like buying a land line: if you’re buying it for home, you pay less than if you’re buying it for a business.
I can’t believe I am the only person who has been confused by AT&T’s website, as well as some online reviews, regarding the new iPhone’s data plan. At any rate, all’s well that ends well.
Steve
Stephen | 30-Jul-08 at 12:46 pm | Permalink
Pixelmystic,
Great news! Let me know if they change their policies, ok?
I’ve been confused by AT&T’s plans for all of the 8+ years I’ve used them!
Yes, Exchange ActiveSync for iPhone Works Without a Business Data Plan | Stephen Foskett, Pack Rat | 02-Aug-08 at 12:01 pm | Permalink
[...] of the most common questions I’ve been hearing after I published my articles on how to set up Exchange ActiveSync with the iPhone 2.0 software is whether or not you need an [...]
Determine Your Outlook Web Access URL | Stephen Foskett, Pack Rat | 25-Aug-08 at 8:00 pm | Permalink
[...] I noted in another post, the server name can vary but often is [...]