Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21266

MAPISession Control

$
0
0
I'm currently experimenting with receiving email from within a VB6 app using MAPISession & MAPIMessages.

If MAPISession.DownLoadMail = True; the equivalent of clicking "Send/Receive" in the email-client is executed downloading pending messages from all Account Servers on MAPISession.SignOn.

Unfortunately, after the initial download, there does not seem to been any function/method to re-execute the download of additional Server messages during a given Session. It seems that the App must wait for the client to retrieve new messages, according to its timer setting. My current client is setup to check the mail servers every 30 minutes; however, while the app is running I would like new email messages to be retrieved every minute.

Does anyone know away of forcing a "DownLoadMail" from within the current session, without; manually changing the client settings, or signing-off the current session and signing-on to a new one?

Thanks, X.

Viewing all articles
Browse latest Browse all 21266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>