I am fetching email content in my inbox (using code below), but just wondering 
if we could mark "email as read" after extract the content and before move on 
to next email , pls help

Public function getunreadmails(objfolder) 

set col = objfolder.items 

for each mail in col 
if mail.unread then 
msgbox mail.subject 
msgbox mail.sendername 
mail.unread=false 
end if 
next 
getunreadmails = vcodetrim
end function

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to