Unable to get all emails of Zimbra User Hi,
I am trying to get all emails for a user using SOAP APIs but I get a http 500 error. Can somebody please look and tell me if I am doing something wrong or atleast point me in the direction that I can looking to debug this? Here is the SOAP call I am making
wout.write("<?xml version='1.0' encoding='windows-1250'?>");
wout.write("<soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope'>");
wout.write("<soap:Header>");
wout.write("context xmlns='urn:zimbra'>");
wout.write("<userAgent xmlns='' name='ZimbraWebClient - IE7 (Win)'/>");
wout.write("<sessionid xmlns='' id='111..' />");
wout.write("<change xmlns='' token='20..' type='new'/>");
wout.write("<authToken xmlns=''>0_787...</authToken>");
wout.write("</context>");
wout.write("</soap:Header>");
wout.write("<soap:Body>");
wout.write("<SearchRequest xmlns='urn:zimbraMail' sortBy='dataDesc' offset='0' limit='0' types='conversation'>");
wout.write("<tz xmlns='' id='(GMT-08.00) Pacific Time (US & Canada)'/>");
wout.write("<locale xmlns=''>en_US</locale>");
wout.write("<query xmlns=''>in:inbox</query>");
wout.write("</SearchRequest>");
wout.write("</soap:Body>");
wout.write("</soap:Envelope>");
Thanks
Avi |