In Fetch and read email messages with attachments from GMAIL POP3 mail server in ASP.Net post
I am trying to refresh the page every 5 minutes using following code, I can see the page is refreshing but it won't populate new emails.
I appreciate if you can help me to resolve this.
<head runat="server"> <meta http-equiv="refresh" content="300"/>
Thank you,
Sanjeewa
As per the meta tag i have checked the page is refreshed at the specified interval and the if (!IsPostBack) condition is executed. So try insert debuger and check this condition. It is not possible to check your code remotely.
It will fetch only new unread emails, Mails once fetched won't be refetched.
This is POP3 and this is how it works.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.