Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

November 13, 2007

POP3 - Reading Email that Arrived after the Session Started

Question:
I am using the CopyMail method of the Mailman object to periodically read emails from the server. I am finding that the bundle is not being refreshed with new emails as they arrive. Is there some resetting of the object that needs to be done? (i.e. when I call CopyMail again, I do not see the new email that arrived since the last call to CopyMail.)

Answer:
Call Pop3EndSession to force the component to automatically start a new POP3 session the next time any method is called that requires communication with the POP3 server. When the new session starts, the new email will be seen.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.