Click here to Skip to main content
15,914,307 members
Home / Discussions / C#
   

C#

 
QuestionReport Problem Pin
M Riaz Bashir28-May-07 2:49
M Riaz Bashir28-May-07 2:49 
AnswerRe: Report Problem Pin
ArunkumarSundaravelu28-May-07 4:44
ArunkumarSundaravelu28-May-07 4:44 
GeneralRe: Report Problem Pin
M Riaz Bashir29-May-07 2:08
M Riaz Bashir29-May-07 2:08 
Questionreading to textbox Pin
ploxy28-May-07 2:49
ploxy28-May-07 2:49 
AnswerRe: reading to textbox Pin
Dave Herren28-May-07 3:41
Dave Herren28-May-07 3:41 
Questionchat application Pin
vibhas198228-May-07 2:42
vibhas198228-May-07 2:42 
AnswerRe: chat application Pin
Tzumer Edo28-May-07 4:25
Tzumer Edo28-May-07 4:25 
QuestionHow to Identify Mail Language? Pin
ArunkumarSundaravelu28-May-07 1:29
ArunkumarSundaravelu28-May-07 1:29 
I'm using webdav method to fetch mails from exchange server and same as send mails. My problem is - if the mail in exchange server is in spanish langugae how to identify , that mail is spanish mail.
Which property is used to identify mail language

The property "BodyEncoding".
which was not found in webdav method, how can i fetch the value of the BodyEncoding Property.

I use the below coding using search method of webdav.

Please suggest me.

///////////////////<


string strXML;
string strInboxURL = "http" + "://" + strServerName + "/exchange/" + strUserName + "/" + strFolderName;

MSXML2.XMLHTTP objXMLHTTP = new MSXML2.XMLHTTP();
System.Xml.XmlDataDocument xmlDOMParams = new System.Xml.XmlDataDocument();

objXMLHTTP.open("SEARCH", strInboxURL, false, strAliasName,strPassword);
objXMLHTTP.setRequestHeader("Content-type", "text/xml");
objXMLHTTP.setRequestHeader("Depth", "1");



strXML = "" +
" = \'DAV:\'>" +
"" +
"SELECT \"urn:schemas:httpmail:fromemail\"," +
"\"urn:schemas:mailheader:cc\"," + //
"\"urn:schemas:httpmail:displayto\"," +
"\"urn:schemas:mailheader:thread-topic\"," +
"\"urn:schemas:httpmail:to\"," +
"\"DAV:displayname\"" +
" FROM scope(\'shallow traversal of " + "\"" + strInboxURL + "\"\')" +
" WHERE \"DAV:ishidden\"=" + "false" +
" AND \"urn:schemas:httpmail:read\"=" + "false" +
" AND \"DAV:isfolder\"=" + "false"+
"" +
"";

objXMLHTTP.send(strXML);
xmlDOMParams.LoadXml(objXMLHTTP.responseText);
xmlDOMParams.Save("D:\\Test.xml");

///////////////////////
AnswerRe: How to Identify Mail Language? Pin
Luc Pattyn28-May-07 4:24
sitebuilderLuc Pattyn28-May-07 4:24 
GeneralRe: How to Identify Mail Language? Pin
ArunkumarSundaravelu28-May-07 4:35
ArunkumarSundaravelu28-May-07 4:35 
GeneralRe: How to Identify Mail Language? Pin
leckey28-May-07 15:30
leckey28-May-07 15:30 
QuestionAccesing timer from other thread Pin
Diego F.28-May-07 1:19
Diego F.28-May-07 1:19 
AnswerRe: Accesing timer from other thread Pin
Robert Rohde28-May-07 3:06
Robert Rohde28-May-07 3:06 
GeneralRe: Accesing timer from other thread Pin
Diego F.28-May-07 5:45
Diego F.28-May-07 5:45 
GeneralRe: Accesing timer from other thread Pin
Robert Rohde28-May-07 7:51
Robert Rohde28-May-07 7:51 
Questionproblem occured while using bmp Pin
IrfanHaleem28-May-07 0:42
IrfanHaleem28-May-07 0:42 
AnswerRe: problem occured while using bmp Pin
Christian Graus28-May-07 1:29
protectorChristian Graus28-May-07 1:29 
GeneralRe: problem occured while using bmp Pin
IrfanHaleem28-May-07 2:12
IrfanHaleem28-May-07 2:12 
GeneralRe: problem occured while using bmp Pin
DavidNohejl28-May-07 2:31
DavidNohejl28-May-07 2:31 
GeneralRe: problem occured while using bmp Pin
IrfanHaleem28-May-07 2:42
IrfanHaleem28-May-07 2:42 
GeneralRe: problem occured while using bmp Pin
Christian Graus28-May-07 11:01
protectorChristian Graus28-May-07 11:01 
QuestionDrag and Drop Pin
MIHAI_MTZ28-May-07 0:29
MIHAI_MTZ28-May-07 0:29 
QuestionSetup and Deployment [modified] Pin
M Riaz Bashir27-May-07 23:47
M Riaz Bashir27-May-07 23:47 
QuestionHow to minimize the data access time while binding with the drop down list Pin
Muhammd Sajjad27-May-07 23:42
Muhammd Sajjad27-May-07 23:42 
AnswerRe: How to minimize the data access time while binding with the drop down list Pin
Christian Graus28-May-07 0:01
protectorChristian Graus28-May-07 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.