Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventhandler and reference a new mail
Message
 
 
To
19/12/2001 10:36:14
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00596144
Message ID:
00596185
Views:
32
This message has been marked as the solution to the initial question of the thread.
>Hallo,
>with the eventhandler in VFox 7 my programm receives the
>event: ApplicationEvents_NewMail() to tell that there is
>a new mail in outlook.
>is there an possibility to reference this new mail direct in
>my programm ?
>i don´t kow in which folder the new mail is and i don´ t want to
>search all folders for unread mails.
>
>some ideas ?
>
>tia

Achim,
New mail, by default, goes into the Inbox. See MSKB#Q235852 for one way (using to trap this type of event. The article is written for VB but looks straightforward WRT converting it to VFP.

As for NewMail, you can open the Inbox and run through it for Unread messages.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform