Solved

MAPI Get Messages

Posted on 1999-01-14
3
255 Views
Last Modified: 2008-02-01
Using mapi is easy , the only thing i have been unabled to do using Microsoft MAPI controls is force the retrieval if mail at a certain time without starting a new mapi session.
In other words i have an open session and the only way to check for mail is to set the downloadmail property to false and wait for the mapi app to do it for me. seems crazy , surly there is a way to initiate the download of mail ???
0
Comment
Question by:conradleigh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:conradleigh
ID: 1456199
Please help
0
 

Accepted Solution

by:
jefflans earned 200 total points
ID: 1456200
Note that you don´t need do *start* another session to download the e-mails: If the NewSession property of the MAPI Session control is set to false and there is a Session already established, the SessionID property will return the number of that session when you set de Action property to 1.

So, to retreive the e-mails with an open session, you need only to set downloadmail property to true, the NewSession property to false and set the Action property to 1.

Hope this helps!
0
 

Author Comment

by:conradleigh
ID: 1456201
Thankx , amazing how you can miss the obvious.

I will try to return the favour sometime.
Thankx Expers Exchange for a great service !@!
Conrad
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question