Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Email Notification for Outlook Express 6

Email Notification for Outlook Express 6

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    ganesh dp
    wrote on last edited by
    #1

    Hi, I want to create one email notification application for outlook express 6. i used "MAPIFindNext()" function to get whether unread messages are present inbox. this function returns first unread messages id. but i need to find number of unread messages. Is there any function to find that? Thanks.

    I 1 Reply Last reply
    0
    • G ganesh dp

      Hi, I want to create one email notification application for outlook express 6. i used "MAPIFindNext()" function to get whether unread messages are present inbox. this function returns first unread messages id. but i need to find number of unread messages. Is there any function to find that? Thanks.

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      I'm no great expert, having never used MAPI, but the following line from the documentation may be of help:

      MSDN wrote:

      The MAPIFindNext function allows a client application to enumerate messages of a given type. This function can be called repeatedly to list all messages in the folder.

      This implies to me that you can just run the function repeatedly, and just count how often it succeeds - the you have your number! Good luck, Iain.

      In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

      G 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        I'm no great expert, having never used MAPI, but the following line from the documentation may be of help:

        MSDN wrote:

        The MAPIFindNext function allows a client application to enumerate messages of a given type. This function can be called repeatedly to list all messages in the folder.

        This implies to me that you can just run the function repeatedly, and just count how often it succeeds - the you have your number! Good luck, Iain.

        In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

        G Offline
        G Offline
        ganesh dp
        wrote on last edited by
        #3

        Iain, Yes this function gives notification based on messagetype. i already tried this... But consider inbox have three 'x' type messages, call the MAPIFindNext function three time with x messagetype. it repeats the same message id and not give other message id. Reason is it's another functionality is, it will give first unread messageid of messagetype 'x'. am i correct? Thanks.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups