Re: Indy10 - D7 - TIdNNTP.Post - Exception

Giganews Newsgroups
Subject: Re: Indy10 - D7 - TIdNNTP.Post - Exception
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Fri, 31 Mar 2006

"Vikram" <vikr…@gnostice.com> wrote in message
news:279E15DDE2F2E240vikr…@gnostice.com...

> I need to retrieve a mail from POP3 (complete, with attachments). This
> message, then needs to be posted to a private newsgroup (exactly as
> received).

You need to set the TIdMessage's NoDecode and NoEncode properties both to
True, not False.  Otherwise, Indy will parse, modify, and re-generate the
data.

> (625) Article Rejected -- Keyword 'References:' is not followed by a space
> (625) Article Rejected -- Keyword 'In-Reply-To:' is not followed by a
space

The mentioned headers are not in a format that the server will accept.  That
has nothing to do with Indy, which does not modify those particular headers
in any way.  So they have to be malformed when you are receiving them.

Gambit

Replies

In response to

Indy10 - D7 - TIdNNTP.Post - Exception posted by Vikram on Fri, 31 Mar 2006