Microsoft Developer Network > 포럼 홈 > Using the Exchange Server Protocols > How to Get serverID from LongID in EAS
질문하기질문하기
 

답변됨How to Get serverID from LongID in EAS

  • 2009년 5월 28일 목요일 오전 7:18Eas coder 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi guys,

    I am searching exchange server for mails using free text as query the response i get is longId and other fields... but what i really want is serverId of the mail is there any way to get the search result as serverId or is there anyway i can get serverId from longId.... as my requirement is serverid only not the body, subject or any other fields

    Regards,
    Manjunath
    __________________________________________________________________________________________________
    http://www.ceveni.com/

답변

  • 2009년 8월 6일 목요일 오후 6:39Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Greetings Manjunath,

     

    I have finished my investigation into this matter and this is what I have concluded:

     

    There is no direct conversion possible from LongId to ServerId. However, you could perform a search query as outlined in [MS-ASCMD] (http://msdn.microsoft.com/en-us/library/dd299441.aspx) in Section 4.5.3 to obtain the LongId of a message. Subsequently, you then could use the LongId in a Fetch operation to retrieve the message in question (Detailed in Section 4.5.3.4).

     

    Does this information assist you?

    Dominic Salemno
    Senior Support Escalation Engineer

모든 응답

  • 2009년 5월 28일 목요일 오후 5:04Tom Devey - MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Hi Manjunath,

    This forum is for the technical discussion covering the Microsoft Exchange Server protocols documentation that can  be found here.  The protocol documentation provides detailed technical specifications for Microsoft proprietary protocols used by Microsoft Exchange Server to communicate with other Microsoft products.  If you have specific questions related to the Microsoft Exchange Server protocol documentation then this is the place that we can help.

    If your questions is specific to Exchange Server development there is a helpful technical community on the Microsoft TechNet that is focused on Exchange Server development found here.  The forum covers topics such as Exchange Web Services (EWS), WebDAV, APIs, application conversion and general application development against Exchange Server.

    When posting to this forum or the Exchange Development Forum it would be helpful to provide background information about your environment and proposed solution such as:

    ·         Exchange Server version.

    ·         Programming language used to develop your solution.

    ·         Description of your Exchange topology.


    This would better enable other developers on the forum to help you with your questions.


    Developer Consultant
  • 2009년 5월 28일 목요일 오후 5:46Tom Devey - MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Hi Manjunath,

    Sorry I missed the reference to Exchange ActiveSync (EAS) in the title.  I have contacted Dominic Salemno who will be investigating your question and will be following up with you. 


    Developer Consultant
  • 2009년 6월 1일 월요일 오전 5:13Eas coder 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Guys any solution?
  • 2009년 6월 4일 목요일 오후 2:29Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Manjunath,

    We are still investigating this and will be following up with you as things progress.

    Dominic Salemno
    Senior Support Escalation Engineer

  • 2009년 6월 16일 화요일 오후 5:04Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Manjunath,

    Could you provide any more information or some samples to clarify what you are asking?

    Dominic Salemno
    Senior Support Escalation Engineer
  • 2009년 6월 22일 월요일 오후 1:56Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Manjunath,

    I need more information to proceed with answering your question. I will archive the previous information provided until you can provide some examples or more clarifying information.

    Dominic Salemno
    Senior Support Escalation Engineer
  • 2009년 7월 8일 수요일 오전 11:30SubodhKumar 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Dominic,

    I am Manjunath's colleague and will be folowing up this query loop from now onwards.

    Let me clarify the doubt once again.

    We have Thunderbird as email client, We have configured exchagne account into Thunderbird.

    There is an option( in Thunderbird) to search a mail in exchange server. Suppose you put some string say "Dominic" either in TO,CC,BCC ,FROM,BODY  fields  of search window of Thunderbird.

    It will send that search request to exchange server through proxy server( which we have developed, we are mapping IMAP requests coming from Thunderbird to Exchane active sync request).

    Exchange server  will search the mails containing the string"Dominic" and it will send the ID's of those emails.
    The Id's will be LONGIDs' like this "asfafhsfas985239242424lkfksfs8325nefafsaf9052l5nwkfnwsr903252lnwkfs982534klsfakslfksafalfaaf".

    Once I get this LONGID from exchange server , I need to convert it to SERVER ID which will be in numeric format.
    Once I will convert it to Server Id, then I can easily find out the mail which is having this server Id.

    We want to convert this LONG ID to SERVER ID.

    Please provide your support on this.

    Regards,
    Subodh



  • 2009년 7월 11일 토요일 오후 6:52Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Subodh,

    I am investigating this issue with the most recent information provided.

    Dominic Salemno
    Senior Support Escalation Engineer
  • 2009년 8월 5일 수요일 오후 6:32Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hi Subodh,

    I am still investigating this issue, I will update you as things progress.

    Dominic Salemno
    Senior Support Escalation Engineer
  • 2009년 8월 6일 목요일 오후 6:39Dominic Salemno MSFTMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    Greetings Manjunath,

     

    I have finished my investigation into this matter and this is what I have concluded:

     

    There is no direct conversion possible from LongId to ServerId. However, you could perform a search query as outlined in [MS-ASCMD] (http://msdn.microsoft.com/en-us/library/dd299441.aspx) in Section 4.5.3 to obtain the LongId of a message. Subsequently, you then could use the LongId in a Fetch operation to retrieve the message in question (Detailed in Section 4.5.3.4).

     

    Does this information assist you?

    Dominic Salemno
    Senior Support Escalation Engineer

  • 2009년 10월 26일 월요일 오전 6:11Eas coder 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Thanx for the support domnic