🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indys NNTP Posting problem

#1224
From: Remy Lebeau (TeamB)
Date: Tue, 06 Mar 2007 23:46
34 lines
2169 bytes
"MwnN" <MwnN@localhost.com> wrote in message
news:45ede924$1@newsgroups.borland.com...

> I was using a try catch block in my code but nothing came up

Then no error was occuring.  The message was successfully being
delivered to the server.  Maybe you simply were not refreshing your
reader?

> I needed to call
>
> msg->NewsGroups->Add("borland.public.test");
>
> first inorder for it to post on the newsgroups.borland.com server

That makes sense.  Even though the server knows the specific newsgroup
the client is posting to, the message itself still has to specify the
newsgroup(s) as well.

> any ideas as to why the group is needed

Because NNTP servers require it.

> this could make things messy if the group is removed form the
> server, having to redownload the full list again to verify groups

No, it does not.  You know the group you are posting to, so simply
ensure that the group exists in the message header before posting it.
You don't have to verify anything on the server.  And if the group
disappears from the server, its messages disappear with it anyway.


Gambit
Technical Details
Message-ID: <45edfd6a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <1NOdncmTj_xWj3HYRVnygAA@giganews.com> <45ec673b@newsgroups.borland.com> <45ede924$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8d4a352b876ea3ce
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <1NOdncmTj_xWj3HYRVnygAA@giganews.com> <45ec673b@newsgroups.borland.com> <45ede924$1@newsgroups.borland.com>
Subject: Re: Indys NNTP Posting problem
Date: Tue, 6 Mar 2007 15:46:35 -0800
Lines: 36
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: 75.83.34.171
Message-ID: <45edfd6a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1173224810 75.83.34.171 (6 Mar 2007 15:46:50 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail