🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5317

Re: Get list of new messages in POP3

#5317
From: Jim Dodd
Date: Thu, 23 Sep 2004 13:16
25 lines
2024 bytes
Don Siders wrote:

>>Can anyone tell me what I'm doing wrong? Thank you.
> 
> The POP3 protocol makes no provisions for message flags.  That aspect requires IMAP.  So the flags ( while available in TIdMessage) are not used with TIdPOP3.
> 
> hth...
> 

Thanks Don. It certainly does help when someone keeps me from banging my 
head against a wall :-) I'm new to doing anything with POP3 (or any mail
protocols) and I appreciate your being kind. You can see my example of 
working code in my reply to Gambit. I decided to use the date and time 
of arrival of the message as my check for whether a message is new or not.

It's just a simple background program to scan all my e-mail accounts to 
warn me when new mail arrives and it's for my own use so I'm not too 
worried about fancy stuff - although I may add a feature to be able to 
enter specific e-mail addresses to trigger a special alert. I guess we 
never stop tinkering with our code do we?

Thanks again,

Jim Dodd
Onset Computer Corp.
Technical Details
Message-ID: <4152cc98$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4151d06a$1@newsgroups.borland.com> <4151ec2e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6a75ae9b12954a47
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 23 Sep 2004 09:16:10 -0400
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Get list of new messages in POP3
References: <4151d06a$1@newsgroups.borland.com> <4151ec2e@newsgroups.borland.com>
In-Reply-To: <4151ec2e@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.75.243.226
Message-ID: <4152cc98$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095945368 24.75.243.226 (23 Sep 2004 06:16:08 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail