Article View: borland.public.cppbuilder.nativeapi
Article #6522Re: Decoding email subject string (or generally an email message)
From: Danila Vershinin
Date: Thu, 05 May 2005 20:53
Date: Thu, 05 May 2005 20:53
39 lines
2740 bytes
2740 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:427a799c$1@newsgroups.borland.com...
> Please show your actual code, and the actual commands/responses that are
> being passed over the socket
Unit1.h
//--------------------------------------------------------------------------------------------------------
...
private: // User declarations
int MailCount;
...
//--------------------------------------------------------------------------------------------------------
Unit1.cpp
//-------------------------------------------------------------------------------------------------------
...
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Log->Active = true;
Mail->Connect();
}
//---------------------------------------------------------------------------
void __fastcall TForm1::MailConnected(TObject *Sender)
{
MailCount = Mail->CheckMessages();
}
//---------------------------------------------------------------------------
TIdLog gave this:
email.log
//--------------------------------------------------------------------------
5/6/2005 12:40:40 AM: Connected.
5/6/2005 12:40:40 AM: Sent: STAT<EOL>
5/6/2005 12:40:41 AM: Recv: +OK Teapop [v0.3.4] - Teaspoon stirs around
again <1115325644.74676B00@Llywellyn><EOL>
//--------------------------------------------------------------------------
Yeah, server responds in inappropriate way I guess)) and yes, it's not
Indy's fault, but it could work... like NetMasters do now, with the same
account ...but Indy doesn't work, it calls the exception (
Technical Details
Message-ID:
<427a87c7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<427a3ba1@newsgroups.borland.com> <427a5557$1@newsgroups.borland.com> <427a6ac7@newsgroups.borland.com> <427a799c$1@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: "Danila Vershinin" <danprep@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <427a3ba1@newsgroups.borland.com> <427a5557$1@newsgroups.borland.com> <427a6ac7@newsgroups.borland.com> <427a799c$1@newsgroups.borland.com> Subject: Re: Decoding email subject string (or generally an email message) Date: Fri, 6 May 2005 00:53:10 +0400 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 62.33.222.220 Message-ID: <427a87c7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115326407 62.33.222.220 (5 May 2005 13:53:27 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail