[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MAPI Get Messages

Posted on 1999-01-14
3
Medium Priority
?
266 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 800 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

873 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