Results 1 to 4 of 4

Thread: Search Email via SOAP message

  1. #1
    bravedreamer is offline Intermediate Member
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    Default Search Email via SOAP message

    Hi

    I want to search through an Email account. Normally I use the IMAP protocol to access the account and filter the emails according to some properties. Unfortunately, I saw that Zimbra does not support the filtering on all header properties. Therefore, I have to switch to SOAP (at least I hope to solve my problem with it). But I don't know how to use it.

    Could anyone tell me the command (SearchRequest?) that I have to issue to the Zimbra Server? Is it even possible to filter out with SOAP some emails?

    Hope you can get me some hints!

    cheers

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    Before you go further, note that ZCS supports IMAP "SEARCH HEADER" searches as of 5.0.5 (see Bug 7384 – IMAP search on non-indexed header returns error). Do you need something besides that?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    bravedreamer is offline Intermediate Member
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    Default

    Hey! Thanks for the hint!

    Actually, it doesn't help me much because I don't know which version the server has and/or if it is possible to upgrade it easily. Therefore, I have to deal with the situation and implement a solution with SOAP.

    But is my problem solvable with SOAP? I mean, if the problem are some missing index tables then I think a SOAP approach wouldn't fit too. Please, could somebody confirm that?

    thanks

  4. #4
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    Well, why not just test and see? Telnet to port 143, 001 LOGIN <username> <password>, 002 SELECT INBOX, 003 SEARCH HEADER "Content-Disposition" attachment. Note that you need to pick an oddball header to test with, as Zimbra always supported searching on Subject, To, From, CC, and Message-ID.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Soap Errors for multiple users
    By rexmora in forum Zimbra Connector for Outlook
    Replies: 9
    Last Post: 09-03-2009, 02:24 PM
  2. Extracting Raw Email Message
    By Ericx in forum Zimlets
    Replies: 4
    Last Post: 05-05-2008, 04:16 PM
  3. SOAP message
    By axel16 in forum Developers
    Replies: 18
    Last Post: 12-13-2005, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •