views:

41

answers:

0

I'm currently reading the messagestore with InTheHand, but I want to do this with OpenNetCF. Can someone post any samples?

Here is how I do this with InTheHand:

foreach (InTheHand.WindowsMobile.PocketOutlook.SmsMessage mess in sess.SmsAccount.SentItems)
                {
                    if (mess.Received.Year == thisYear && mess.Received.Month == thisMonth)
                    {
                        smsThisMonth++;
                    }
                }