Trigger Event on New Email

Discussion in 'iOS Programming' started by FrogMo, Mar 23, 2010.

  1. FrogMo macrumors newbie

    Joined:
    Mar 23, 2010
    #1
    I have my iPhone 3Gs setup to connect to an Exchange server for email. When I receive a new email the phone makes a beep sound to notify I have a new email. How can I pick up on this event (new email) in an app I am creating?
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
  3. FrogMo thread starter macrumors newbie

    Joined:
    Mar 23, 2010
    #3
    Thanks for the reply. You said you can't using the "public API", is there a "private API" that I can use?
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Not if you wish your app to be approved for availability on the App Store.
     
  5. FrogMo thread starter macrumors newbie

    Joined:
    Mar 23, 2010
    #5
    Just to confirm there is no way to do this using the default Exchange client that comes with the iPhone but if I built my own Exchange client app then I could do what I'm trying to do and I could also create an API which others could use if they downloaded and installed my Exchange client app.

    Is that right?
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    Doubtful that would be approved either. Probably get rejected for "duplicating functionality".
     
  7. FrogMo thread starter macrumors newbie

    Joined:
    Mar 23, 2010
    #7
    Thanks. It is too bad the public API does not allow access to more of the mail functions and features. I could see where that would open the door for a lot of new possibilities in apps.
     

Share This Page