🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53898

Re: posting news to NNTP server from Windows

#53898
From: syoder
Date: Tue, 21 Aug 2001 13:46
40 lines
1982 bytes
Apart from the default shell commands available in Windows,
does anyone know of an existing WIN32 program that could
do this.  Something like:

  win32nntp_poster  -S mysever.com -s 'my subject' mymessage.txt

Are there APIs in Windows (Visual C++) that I could use to
write a simple program?

Thanks,

Stuart

curt@kcwc.com (Curt Welch) wrote in message news:<20010820194326.182$Dw@newsreader.com>...
> syoder@parthus.com (syoder) wrote:
> > Is there a simple way to post to a NNTP server from a
> > MS-DOS command shell (Windows 98/NT/2000) or batch
> > file.
> >
> > How do I post a 'Hello World' message?
> 
> Not that I know of.  You can do by hand with the telnet command.
> 
> Something like:
> 
>   telnet news.yourserver.com 119
> 
>   authinfo user xxx
>   authinfo pass yyy
>   post
>   Subject: Hello World
>   Newsgroups: alt.test
>   From: syoder@parthus.com (syoder)
> 
>   I did it!
>   .
> 
> If you can figure out how to do that from a batch file you will have
> it made.
Technical Details
Message-ID: <ad07e1ae.0108210546.69429233@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail
References: <ad07e1ae.0108201444.6660764e@posting.google.com> <20010820194326.182$Dw@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <ad07e1ae.0108210546.69429233@posting.google.com>
Subject: Re: posting news to NNTP server from Windows
Date: Tue, 21 Aug 2001 13:46:33 +0000
From: syoder@parthus.com (syoder)
References: <ad07e1ae.0108201444.6660764e@posting.google.com> <20010820194326.182$Dw@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 39
NNTP-Posting-Host: 64.221.15.196
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 998401593 9380 127.0.0.1 (21 Aug 2001 13:46:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 21 Aug 2001 13:46:33 GMT