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