Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exchange Server/Outlook & MAPI
Message
 
 
To
02/04/2010 04:47:08
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01458477
Message ID:
01458483
Views:
73
What seems to be a problem?
>
>I want to be able to do 2 things:
>
>1. Connect to my Exchange server, log on to a selected mailbox, sort the inbox by most recent, then look through the inbox for emails from a selected address(s) and within the last week, then copy the contents of the selected email to a local table for processing.
>
>I have the following code that I've seen in another thread, but this is as far as I've got:
>
>loOutlook = creAteOBJECT("outlook.application")
>loNameSpace = loOutlook.APPLICATION.GetNamespace('MAPI')
>lpUserID="MailboxAccountName"
>lpPassword="MailboxAccountPassword"
>loNameSpace.Logon(lpUserID, lpPassword)
>
>Any ideas?
>
>Regards
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform