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. Outlook please help

Outlook please help

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
7 Posts 3 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.
  • J Offline
    J Offline
    Jump_Around
    wrote on last edited by
    #1

    Is there any possibility to call a function when an email arrives in the Outlook Express. How to get notification when an email arrives. Please help

    A P 2 Replies Last reply
    0
    • J Jump_Around

      Is there any possibility to call a function when an email arrives in the Outlook Express. How to get notification when an email arrives. Please help

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      Could you specify a bit more of what you want to do ? The Outlook Express will send a self-notification when a new e-mail message is available. This notification will cause a small task tray icon to pop up. We have all seen this. You would need to do some hacking with Spy++ to find out what message it is that OE generates/sends when a new e-mail message is available. Then hook the OE's window procedure, and handle this message yourself before posting it forwards to OE or dumping it. Remember that dumping the new message notification may cause the message not to be displayed on OE's message list. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      J 1 Reply Last reply
      0
      • A Antti Keskinen

        Could you specify a bit more of what you want to do ? The Outlook Express will send a self-notification when a new e-mail message is available. This notification will cause a small task tray icon to pop up. We have all seen this. You would need to do some hacking with Spy++ to find out what message it is that OE generates/sends when a new e-mail message is available. Then hook the OE's window procedure, and handle this message yourself before posting it forwards to OE or dumping it. Remember that dumping the new message notification may cause the message not to be displayed on OE's message list. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

        J Offline
        J Offline
        Jump_Around
        wrote on last edited by
        #3

        Well, what I really want to do is a project which scans an incoming email content and puts it to a folder dependently what the content looks like. Please give me any suggestions, maybe a piece of code. Thank you

        A 1 Reply Last reply
        0
        • J Jump_Around

          Well, what I really want to do is a project which scans an incoming email content and puts it to a folder dependently what the content looks like. Please give me any suggestions, maybe a piece of code. Thank you

          A Offline
          A Offline
          Antti Keskinen
          wrote on last edited by
          #4

          Get the Outlook Express ActiveX component. It is available freely for evaluation, and exposes the entire OE Interface for your use. Works much like Word/Excel/Outlook automation objects. Of course there are alternative, and free, ways to accomplish all this, but it would be much more difficult. Use the ActiveX component, as it is available. Trust me, although the component does cost £19, it will make your work a whole lot easier. Especially if you're trying to build a spam filter or something similar... Here's a link to the component creator's website: Small Office Solutions Ltd.[^] -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

          J 1 Reply Last reply
          0
          • A Antti Keskinen

            Get the Outlook Express ActiveX component. It is available freely for evaluation, and exposes the entire OE Interface for your use. Works much like Word/Excel/Outlook automation objects. Of course there are alternative, and free, ways to accomplish all this, but it would be much more difficult. Use the ActiveX component, as it is available. Trust me, although the component does cost £19, it will make your work a whole lot easier. Especially if you're trying to build a spam filter or something similar... Here's a link to the component creator's website: Small Office Solutions Ltd.[^] -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

            J Offline
            J Offline
            Jump_Around
            wrote on last edited by
            #5

            Well, I would rather write it in C++ without using any components(especially in case the component is written in VB). How to check in spy++ what kind of message is comming when an email arrives? I know there are some products which have control on Outlook, without using any components, so I want to achive the same. Any more sugestions? P.S Thank ypu for your help

            J 1 Reply Last reply
            0
            • J Jump_Around

              Well, I would rather write it in C++ without using any components(especially in case the component is written in VB). How to check in spy++ what kind of message is comming when an email arrives? I know there are some products which have control on Outlook, without using any components, so I want to achive the same. Any more sugestions? P.S Thank ypu for your help

              J Offline
              J Offline
              Jump_Around
              wrote on last edited by
              #6

              Another question. Can I use MAPI to solve the problem?

              1 Reply Last reply
              0
              • J Jump_Around

                Is there any possibility to call a function when an email arrives in the Outlook Express. How to get notification when an email arrives. Please help

                P Offline
                P Offline
                Peter Molnar
                wrote on last edited by
                #7

                Outlook Express does not get notified if there are new messages in the POP3 mailbox (it is Outlook which does get notications), OE rather checks itself the contents of the POP3 mailbox after a user defined time intervall has elapsed. That means you can programmatically do the same from your own prog, independently of Outlook Express. You can also use for this ready made POP3 classes like http://www.codeproject.com/internet/win32_pop3.asp Then analyze the messages in the POP3 mailbox, and also let OE download them. The data (like user, server name etc.) of the predefined POP3 mailboxes of OE you can find find under HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts The full path to the message files (like incoming messages, sent messages etc. is under HKEY_CURRENT_USER\Identities\..Identity GUID..\Software\Microsoft\Outlook Express\...Version...\Store Root Peter Molnar

                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