I am trying to read email messages from smtp server. I would like to know as to how to terminate the loop when it reaches to the end of all messages in the Inbox.
pervez khan