Solved

MAPI Get Messages

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

685 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