How to read mails from Exchange Server 2003
Hai,
how to read mails(with embedded images) from exchange server2003 using asp. I was new to exchange server, i donot know how to read an image + text messages in MIME Format. I little bit know that the reading an text/html message but i donot know the how to read an embedded image
i use the following query in ASP to read a simple message,
strQ = "select "
strQ = strQ & " ""urn:schemas:mailheader:date"""
strQ = strQ & ", ""urn:schemas:httpmail:to"""
strQ = strQ & ", ""urn:schemas:httpmail:from"""
strQ = strQ & ", ""urn:schemas:httpmail:fromemail"""
strQ = strQ & ", ""urn:schemas:httpmail:subject"""
strQ = strQ & ", ""urn:schemas:httpmail:sender"""
strQ = strQ & ", ""urn:schemas:httpmail:sendername"""
strQ = strQ & ", ""urn:schemas:httpmail:senderemail"""
strQ = strQ & ", ""urn:schemas:httpmail:datereceived"""
strQ = strQ & ", ""urn:schemas:httpmail:textdescription"""
strQ = strQ & ", ""urn:schemas:httpmail:htmldescription"""
strQ = strQ & ", ""DAV:contentclass"""
strQ = strQ & ", ""DAV:displayname"""
strQ = strQ & ", ""DAV:href"""
strQ = strQ & " from scope ('shallow traversal of "
strQ = strQ & Chr(34) & strURL & Chr(34) & "') "
strQ = strQ & " WHERE ""urn:schemas:httpmail:read"" = false"
Please any one can help me,
Regards
V.Senthil
|