Asp.Net StoreItem_GetProperty() returns empty

Discussion for developers using MailEnable.
Post Reply
Steffp01
Posts: 5
Joined: Tue Dec 19, 2017 4:50 pm

Asp.Net StoreItem_GetProperty() returns empty

Post by Steffp01 »

Hi,

I'm trying to get an inbox message's content via c# and keep coming up blank.

I've got a console app that appears to access the correct inbox, because it iterates through the correct number of messages, but no matter what property I request it always returns blank.

So if the inbox I specify has 12 messages in it, my loop prints out 12 blank PR_SUBJECTs (same for every property I've tried).

Is there a permissions thing I'm missing? It doesn't error, just returns "" for every property on every message.

Please can you help me?
Thanks!

Post Reply