Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook - automating Send/Receive
Message
 
To
02/02/2001 09:08:22
Carol Dewar
Magram Computer Services Llc
Saugerties, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00471055
Message ID:
00471896
Views:
16
No. You can use the MAPIMail instead of Outlook.Application object.

loMail=CreateObject("MAPIMail")
lnRead=loMail.ReadMail(parameters)

I can't remember the parameters offhand, there is a help file with it. Once done, you just loop through the messages with loMail.GetNextMessage() etc.

>I hope you are saying:
>oOlApp = GETOBJECT("Application.Outlook")
>then issue your MAPImail receive command
>then work with the new MailItems in Outlook's InBox.
>
>If that is true, then I am set.
>
>Thanks,
>Carol Dewar
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform