Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WebDAV日期范围查询_C#_Email_Webdav_Exchange Server 2003 - Fatal编程技术网

C# WebDAV日期范围查询

C# WebDAV日期范围查询,c#,email,webdav,exchange-server-2003,C#,Email,Webdav,Exchange Server 2003,我正在尝试从Exchange Server 2003访问和提取邮件。我需要按日期拿到,但我有问题 下面是代码lsQuery=“” + "" +“选择\“urn:schemas:httpmail:hasattachment\”,\“DAV:displayname\”,” +“urn:schemas:httpmail:from\,\“urn:schemas:httpmail:subject\,” +“\”urn:schemas:httpmail:htmldescription\”FROM\”“+ls

我正在尝试从Exchange Server 2003访问和提取邮件。我需要按日期拿到,但我有问题

下面是代码
lsQuery=“”
+ ""
+“选择\“urn:schemas:httpmail:hasattachment\”,\“DAV:displayname\”,”
+“urn:schemas:httpmail:from\,\“urn:schemas:httpmail:subject\,”
+“\”urn:schemas:httpmail:htmldescription\”FROM\”“+lsRootUri
+“\”其中\“DAV:ishiden\”=false”
+“和\“DAV:isfolder\”=false”
+“和\“urn:schemas:httpmail:hasattachment\”=true”
+“和\”urn:schemas:httpmail:read \“=false”
+“和\”urn:schemas:httpmail:date \“\”=\”强制转换(\'2009/11/17\'为'dateTime')”
+“和\”urn:schemas:httpmail:date \“\”=\”强制转换(\'2009/11/19\'为'dateTime')”
+ "";