Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve specific messages with pop3 ?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
How to retrieve specific messages with pop3 ?
Divers
Thread ID:
00738231
Message ID:
00738231
Vues:
52
I am trying to read only messages with specific subject:

IF loPOP.Connect()

*lnMsgs = loPop.GetmessageHeader()
lnMsgs = loPop.GetMessages()

IF lnMsgs > 0
For x = 1 to lnMsgs
WAIT loPop.aMessages[x].csubject WINDOW
ENDFOR
ENDIF
ENDIF

If I use getmessageHeader instead of getmessages, I have only empty emails. I want to read only the header, see if the subject is = "ABC" and then download only these.

Any suggestions ?

Thanks

Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform