How to read attachment content using X-MS-ENUMATTS Method
-
I have a class which reads mails from an OWA(OutlookWebAccess)mail box. I am using the following code as follows, but not sure how will I get the attachment and read those attachemnt.
"SELECT" & _
" ""DAV:href""" & _
",""urn:schemas:httpmail:sendername""" & _
",""urn:schemas:httpmail:subject""" & _
",""urn:schemas:httpmail:datereceived""" & _
",""urn:schemas:httpmail:read""" & _
",""urn:schemas:httpmail:htmldescription""" & _
",""urn:schemas:httpmail:hasattachment""" & _
",""urn:schemas:httpmail:attachmentfilename""" & _
" FROM scopeEven saving the attachment and reading the file thereafter from local folder is also fine. But I don't know how to do the same. Can anybody provide any help for that? I read something that relates to this in this link. But not able to understand anything. Is this is the way to achieve this? Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.