Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exchange Server/Outlook & MAPI
Message
 
 
À
02/04/2010 04:47:08
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01458477
Message ID:
01458483
Vues:
74
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform