Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying Emails into a DBF
Message
De
14/07/2000 09:48:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Copying Emails into a DBF
Divers
Thread ID:
00392351
Message ID:
00392351
Vues:
50
I am trying to copy my incoming OutLook emails into a VFP data table.

I have instanciated an Outlook application in VFP and grab email out of a folder.. like this:
loOutLook = createobject('outlook.application')
loSpace = loOutLook.GetNameSpace('MAPI')
loInbox = loSpace.GetDefaultFolder(6)
? loInbox.items(1).body

loInbox.items(k).sendername gives me the name of the sender of the kth email. If that name happens to be 'John Smith', that's what I get, and I cannot get his actual email address, like john@abc.com.

Can anyone help me figure out how to retrieve the sender's actual email address?

Thanks,
Joel Aiken
joel@patsyaiken.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform