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

February 15, 2008

Using IMAP PeekMode to prevent messages from being marked SEEN

When I loop through the messages in an IMAP mailbox all the messages get marked as Seen.
I only want specific messages (based on the email body content) to be marked as ‘Seen’
How can I prevent or reset the seen flag?

The Chilkat IMAP component has a PeekMode property. If set to true, it prevents emails from being marked Seen when retrieved. The Seen flag may be set by calling the Imap.SetFlag method.

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

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