for each oItem In oCMSFolder:Items
nItem++
dMail := oItem:ReceivedTime
cSender := oItem:sendername
cSubject := oItem:subject
cBody := oItem:body
for each oAttach In oItem:Attachments
cAttach := oAttach:filename
aadd(aAttach,{str(nItem,2),cAttach})
next
aadd(aData,{str(nItem,2),dtoc(dMail),(left(alltrim(cSender) + space(30),30)),(left(alltrim(cSubject) + space(30),30)),cBody})
next
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 100 guests