Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read email addresses from an outlook folder.
Message
De
18/10/2004 16:54:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949317
Message ID:
00952446
Vues:
17
Thanks, where can I find more information on the syntax.

For instance:
This adds an email list of sent to emails to a cursor:
 CLEAR 

LOCAL ;
loOutlook as outlook.application, ;
loItem, ;
lobox, ;
loNameSpace

loOutlook = CREATEOBJECT("outlook.application")
loNameSpace = loOutlook.APPLICATION.GetNamespace('MAPI')
loBox = loNameSpace.Folders(1).Folders('sold')
*loBox = loBox.Folders('UT')
*loBox.Items.SORT('To')
CREATE CURSOR cEmails (email c(200))
FOR EACH loItem IN loBox.Items
	INSERT INTO cEmails VALUES (ALLTRIM(loitem.to))
NEXT lni

SELECT cemails
BROWSE last
I would like the variable that returns the sent from email address. From internet searches I've been able to assertain:
.to
.sent
.subject
.body

etc... where can I find a complete list. Or what keyword pulls it up in the MSDN... Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform