Article View: borland.public.cppbuilder.internet.socket
Article #1221Re: Indys NNTP Posting problem
From: MwnN
Date: Mon, 05 Mar 2007 21:15
Date: Mon, 05 Mar 2007 21:15
32 lines
2422 bytes
2422 bytes
"Remy Lebeau (TeamB)" wrote in message
news:45ec673b@newsgroups.borland.com...
>
>
> Then an exception is likely being thrown that you are not catching.
> You should be wrapping your code in try..catch blocks, ie:
>
> Gambit
Hey Gambit,
I was using a try catch block in my code but nothing came up, so I decided
to test on the borland.test group news server and I got the exception, very
strange!!
I needed to call
msg->NewsGroups->Add("borland.public.test");
first inorder for it to post on the newsgroups.borland.com server, however,
when logging into my nntp server with a username/password to
news-europe.giganews.com the exception never happened and nothing was
posted, calling the line above to add the group fist worked on my news
server too which enabled posting, any ideas as to why the group is needed,
this could make things messy if the group is removed form the server, having
to redownload the full list again to verify groups, but at least the
exception was thrown on both news servers that no such group existed.
Thanks again Gambit!
Technical Details
Message-ID:
<yYGdnV-9qqIWFXHYnZ2dnUVZ8sSrnZ2d@giganews.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<1NOdncmTj_xWj3HYRVnygAA@giganews.com> <45ec673b@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 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 05 Mar 2007 15:15:55 -0600 From: "MwnN" <MwnN@localhost.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <1NOdncmTj_xWj3HYRVnygAA@giganews.com> <45ec673b@newsgroups.borland.com> Subject: Re: Indys NNTP Posting problem Date: Mon, 5 Mar 2007 21:15:51 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Message-ID: <yYGdnV-9qqIWFXHYnZ2dnUVZ8sSrnZ2d@giganews.com> Lines: 35 X-Trace: sv3-pooS4k7T6WeXdUUSgwtna531gY+eJGDHaKKqNHuzSyFBgjGnbrGQxSPGFa4F6iTlOX1s/BnPYgiO+wW!pUmq41nrKVgO8pEJHk+Yk20n7MkLi8hXOb7izA3+qjZ/+8mifHfOyIfnCuYnqIfxZmqutekmsg== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34