Gmail to Exchange Link

Discussion in 'iOS Programming' started by jakepoz, Aug 1, 2008.

  1. jakepoz macrumors newbie

    Aug 1, 2008
    Hey everyone,

    I've spent the last few days writing a PHP webservice that emulates the Microsoft AirSync protocol (the one used when you select Exchange in the iphone). It currently supports most of the email functions you'd expect, even push!

    I'm looking to opensource this project, but I just want to get a feel for how much desire there would be to help me out on this one? The code isn't too messy, but there are quirks needed to code around some weird issues. I want to add calendar and contacts syncing this week as well.

    Anyone interested? It's PHP code, not my favorite, but it lets you run the service on any ol' server really.

    Even though its opensource, there might be some business opportunity by offering it as a hosted service or something?

    Just a few more details:
    -It's final goal is to link to Gmail and their calendar/contacts services, but it can do any IMAP server I guess (just tested on gmail so far)
  2. matperk macrumors 6502

    May 6, 2004
    Milwaukee, Wisconsin
    Can you clarify what the service will do? Push mail to gmail or from gmail? Also will it support calendaring/contacts?
  3. jakepoz thread starter macrumors newbie

    Aug 1, 2008
    It's a webservice written in PHP that lets you push your gmail, google calendar, and google contacts to your phone using the Exchange protocol.

    It's meant to provide the features of MobileMe/Exchange to Gmail users.
  4. styrvolt macrumors newbie

    Feb 8, 2008
    I want it! I know that there are services out there that do the same but I don't want to hand over user/pass to an external service.

    If I could purchase a script that makes gmail+calender look like an exchange server to our iphones, I would install it on 1 of out rack servers in a heartbeat.
  5. thelarster macrumors newbie

    Aug 6, 2008
  6. jakepoz thread starter macrumors newbie

    Aug 1, 2008
    Well, I got it working to the point where I had somewhat decent push with basic reading/deleting/sending capabilities. However, the reliability on the push and other things was not up to my standards, and I never got a chance to fix it.

    The tricky part was getting data in the correct format, which is this almost undocumented serialized XML stuff. That's all working, but it still needs a lot of hacking to get it to something worth using consistently.

    If you are interested in picking up the project, send me an email and I can post the code. I have a email address with the username jakepoz. So send an email or reach me on gtalk.

  7. styrvolt macrumors newbie

    Feb 8, 2008
    Too bad.

    I don't have the stomach to do this myself but I'm baffled that google does not implement this. At least as a part of their gmail for domains initiative. This WOULD make me a paying customer.

    If can do it, so can others.

Share This Page