none
Unable fetch Email from exchange server. Server always returning 501 RRS feed

  • Question

  • I am trying to retrieve an email using the following xml

    String xml="<?xml version=\"1.0\" encoding=\"utf-8\"?>"
                        +"<ItemOperations xmlns=\"ItemOperations:\">"
                        +"<Fetch>"
                            +"<Store>Mailbox</Store>"
                            +"<airsync:CollectionId>6</airsync:CollectionId>"
                            +"<airsync:ServerId>6:1</airsync:ServerId>"
                            +"<Options>"
                                +"<airsyncbase:BodyPreference>"
                                    +"<airsyncbase:Type>2</airsyncbase:Type>"
                                +"</airsyncbase:BodyPreference>"
                            +"</Options>"
                      +"</Fetch>"
                    +"</ItemOperations>";

     


    Server is always returning a status of 4. which means the URI is not valid.

    I got the Collection ID from the folder sync and ServerID from the email sync operation.

    I am not sure how to specify the correct URI for getting an email.

     

    Please help.

     


    • Edited by Pankaj2021 Wednesday, September 7, 2011 6:33 AM
    Wednesday, September 7, 2011 5:08 AM

Answers

  • Hi Pankaj2021,

    Thank you for your question.  A member of the Open Specification team will contact you to investigate this issue.

    Regards,
    Mark Miller
    Escalation Engineer
    Microsoft Open Specifications

    • Marked as answer by Pankaj2021 Sunday, September 11, 2011 7:14 AM
    Wednesday, September 7, 2011 12:15 PM
  • Hi Mark,

    I got the issue solved.

    It was a mistake at my end. The cmd parameter in the server connection string was not correctly passed.

    Thanks for your help.

    Regards,

    Pankaj

    Sunday, September 11, 2011 7:14 AM

All replies