🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6520

Re: Decoding email subject string (or generally an email message)

#6520
From: Remy Lebeau (TeamB)
Date: Thu, 05 May 2005 19:54
27 lines
2152 bytes
"Danila Vershinin" <danprep@yahoo.com> wrote in message
news:427a6ac7@newsgroups.borland.com...

> the problem appeared all the time when I tried to do things like:
> MailCount = Mail->CheckMessages();  // Mail is TIdPOP3 component
> and MailCount is : int MailCount defined in private section of form
class....
> just checking number or messages on the server....
> And what do I get from this simple task?, what you think?
> An exception of class EConvertError with message "'Teapop' is not a valid
> integer value" Teapop? huh?)

Then your server is likely not sending a valid response back to begin with.
TIdPOP3 has been around for a long time, it is a mature component that a lot
of people use it without problem.  Please show your actual code, and the
actual commands/responses that are being passed over the socket.  You can
use a packet sniffer, such as Ethereal (http://www.ethereal.com), or attach
one of the TIdLog... components to TIdPOP3's Intercept property, to get that
communication data.

> nothing written in the documentation about Teapop constant or whatever...

The value would be coming from the POP3 server itself, not Indy.


Gambit
Technical Details
Message-ID: <427a799c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <427a3ba1@newsgroups.borland.com> <427a5557$1@newsgroups.borland.com> <427a6ac7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ebae1c5dc81fe23
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <427a3ba1@newsgroups.borland.com> <427a5557$1@newsgroups.borland.com> <427a6ac7@newsgroups.borland.com>
Subject: Re: Decoding email subject string (or generally an email message)
Date: Thu, 5 May 2005 12:54:51 -0700
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <427a799c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115322780 68.69.17.41 (5 May 2005 12:53:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail