Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check email from VFP 5
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00128672
Message ID:
00128990
Views:
25
Josh,

Thanks for the scoop. Because I also needed to initiate the dial-up, all from within VFP without the user having any interaction, I went ahead and purchased the Internet Pack from Mabry Controls. It is very inexpensive, fantastic to use, offers everything that I needed, as well as some other controls for FTP, RAS, etc. However, I have saved your code example for later... There may be a time where it would be better to use MAPI.

Thanks again,

Patric


>You can do this with the MAPI controls. First, set the message control's FetchUnreadOnly property to .T. Then you can use the control's Fetch() method to get new messages. Something like this:
>
>WITH THISFORM.oleMessage
>  .Fetch()  && Get any new messages
>  IF .MsgCount>0  && See if there are any new messages
>    FOR i=0 TO (.MsgCount-1) && Loop through the message set
>      .MsgIndex=i
>      && Process message here			
>    ENDFOR
>  ENDIF
>ENDWITH
Previous
Reply
Map
View

Click here to load this message in the networking platform