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#
  4. Unable to Capture Incoming Mail Event in Outlook

Unable to Capture Incoming Mail Event in Outlook

Scheduled Pinned Locked Moved C#
helpquestion
2 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.
  • N Offline
    N Offline
    narayanagvs
    wrote on last edited by
    #1

    Hi, I have added an outlook addin project.Everything works fine. Whenever I receive a mail an Incoming mail event needs to be fired and hence I do my processing further. This works fine when the outlook is opened.But when my outlook is closed and if I receive the mails in the mean time, again when I open the outlook the "Incoming mail event" is not fired for all the new mail messages. What could be the problem? How Should I handle this ? Any Suggestions would be helpful. Thanks Satya

    Today is a gift, that's why it is called the present.

    B 1 Reply Last reply
    0
    • N narayanagvs

      Hi, I have added an outlook addin project.Everything works fine. Whenever I receive a mail an Incoming mail event needs to be fired and hence I do my processing further. This works fine when the outlook is opened.But when my outlook is closed and if I receive the mails in the mean time, again when I open the outlook the "Incoming mail event" is not fired for all the new mail messages. What could be the problem? How Should I handle this ? Any Suggestions would be helpful. Thanks Satya

      Today is a gift, that's why it is called the present.

      B Offline
      B Offline
      Bert delaVega
      wrote on last edited by
      #2

      It sounds like your event's being hooked after the initial load (loading of new messages into the inbox folder). Once it's hooked, any new messages are handled properly. I'm not familiar with this, though. Maybe you can try and change the outlook settings so new messages aren't downloaded until you manually check them? (maybe that would give time for you hook to be in place?). Ideally the hook should happen before the download event.

      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