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
Solved

MAPI Get Messages

Posted on 1999-01-14
3
250 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
  • 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

860 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