EWS_Email_GetCount1 always return 0

Oct 10, 2011 at 12:44 PM

Hello, I use soap-action "EWS_Email_GetCount1" to retrive number of all messages and a number of unread messages. In response I always get this: <all>0</all> and <unread>0</unread>, but there are unread messages in the mail. What am I doing wrong?

Oct 11, 2011 at 10:06 AM

Hello,

it happens because this method return amounts of emails only from Inbox folder. 

Thanks,

Nikita

Oct 11, 2011 at 6:49 PM

Thank you for your answer, but I still don't understand. Is this "Inbox" folder which you said the same folder as I see in the web interface of Live Service? If I log in to the web interface of mail I see one unread message in the "Inbox" folder, but "EWS_Email_GetCount1" return 0 anyway.

Oct 12, 2011 at 8:29 PM

Hello,

Yes, I mean that "Inbox" folder which is processed by this method is the same folder, which you can see in Outlook Web App.

It's looks like bug. What version of EFMS you use? If your version is less than  2.0.3, download last version of web-service. 

Thanks, Nikita.