• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

MAPI Get Messages

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
conradleigh
Asked:
conradleigh
  • 2
1 Solution
 
conradleighAuthor Commented:
Please help
0
 
jefflansCommented:
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
 
conradleighAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now