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. Visual Basic
  4. Absolutely Desperate...MAPI anyone

Absolutely Desperate...MAPI anyone

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
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.
  • E Offline
    E Offline
    EvScott
    wrote on last edited by
    #1

    A simple problem to solve I'd assume; I'm using MAPI to manipulate messaging. I have set up a profile in Outlook Express, and I can send email using my application. When I send to myself, it goes straight into my profile's inbox: Hotmail. However, When I use MAPIMessages1.MsgCount, it returns 0, as it reads from the default LOCAL folder. Any ideas on how to get my messages read from my new account?

    T 1 Reply Last reply
    0
    • E EvScott

      A simple problem to solve I'd assume; I'm using MAPI to manipulate messaging. I have set up a profile in Outlook Express, and I can send email using my application. When I send to myself, it goes straight into my profile's inbox: Hotmail. However, When I use MAPIMessages1.MsgCount, it returns 0, as it reads from the default LOCAL folder. Any ideas on how to get my messages read from my new account?

      T Offline
      T Offline
      The ANZAC
      wrote on last edited by
      #2

      why not use the system.net class. Alternatively, if you must use mapi, obviously you've set the custom folder or have it availabl;e in a variable, why not perform a manual message count with a loop or something.

      Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"

      E 1 Reply Last reply
      0
      • T The ANZAC

        why not use the system.net class. Alternatively, if you must use mapi, obviously you've set the custom folder or have it availabl;e in a variable, why not perform a manual message count with a loop or something.

        Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"

        E Offline
        E Offline
        EvScott
        wrote on last edited by
        #3

        Thanks ANZAC, I think the problem lies in the way I've set my Outlook Express up as everything works well at work using Microsoft Outlook, but doesn't work with Express as I've got two folders: Local, and my default one.

        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