>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao