Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Email Programs
Message
De
21/03/2003 11:15:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Accessing Email Programs
Divers
Thread ID:
00768617
Message ID:
00768617
Vues:
49
I have an application that can read and write email using Outlook. I got the basic software from FoxPro Advisor. However, I also need to do it using Eudora, Netscape and Aol also.
Can anyone help here?
Here is how my VFP program for Outlook looks:
IoApp=CREATEOBJECT("Outlook.application")
IoSpace=IoApp.GetNameSpace("MAPI")
wait 'Now Look for Update from Whomever' window nowait
IoFolder=IoSpace.Folders("Personal Folders").Folders("Inbox")
For EACH IoMsg IN IoFolder.Items
if left(IoMsg.Subject,36)='Attached are Updates'
For EACH IoAttachment IN IoMsg.Attachments
if IoAttachment.Type=1
IoAttachment.SaveAsFile(xd+IoAttachment.Filename)
ENDIF
ENDFOR && do only 1st attachment?
IoMsg.Delete()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform