Forum Discussion
YMinaev
14 years agoStaff
Hi,
You can check the inbox.Items.Count value before your loop. If it is zero, this means that the inbox is empty. In the if lock which will check this, you need to do what you'd do in the case if your message is not received.
You can check the inbox.Items.Count value before your loop. If it is zero, this means that the inbox is empty. In the if lock which will check this, you need to do what you'd do in the case if your message is not received.
Related Content
Recent Discussions
- 43 minutes agosimonaferrara
- 10 hours agoSubhraDas
- 2 days agotramuntana