🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54120

Writing a Posting Program

#54120
From: Rhino
Date: Wed, 05 Sep 2001 16:50
41 lines
2947 bytes
I think I need to write a simple posting program and need some information
on how to do it. I'm an experienced programmer in several languages so I
don't need to know how to program, just how to compose and post usenet
messages.

I'm running Win95 and I would like to post a short message to two particular
newsgroups every month or so. I am the president of a small club and would
like to notify people at these two newsgroups about our meetings. I am using
Outlook Express 5.5 as my main e-mail/newsgroup program but I haven't found
any features that would let me "autopost" my message so I think I need to
write my own program to do the job.

I've skimmed RFC977 and RFC1036 and have a basic idea of the structure of
the program I need to write. However, I am completely baffled on how to
establish the environment in which I can submit the NNTP commands to
establish a connection, POST, and QUIT. Also, I don't know how to establish
the connection to the desired news server.

What program do I need to start in order to establish the environment in
which the connect, POST, and QUIT commands will be recognized? I tried
entering NNTP and USENET on my MS-DOS command line but that didn't work :-)
Is it possible/desireable for me to use Outlook Express to send the message?

Once I've established the environment so that the connect, POST, and QUIT
commands will be accepted, how do I establish the connection to port 119?

How do I send the actual article to the newsgroups? RFC937 just says that I
need to send it using the RFC850 format, which I know has been replaced by
RFC1036.

If anyone can tell me the answers to these questions, point me to the
relevant documentation, or supply me with examples, I'd be very grateful.

Rhino
---
rhino1 AT sympatico DOT ca
---
Diplomacy is the art of saying, "Nice doggie!" until you can find a rock.


Technical Details
Message-ID: <hJsl7.25009$v%4.2629859@news20.bellglobal.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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed.sovam.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hJsl7.25009$v%4.2629859@news20.bellglobal.com>
Subject: Writing a Posting Program
Date: Wed, 5 Sep 2001 12:50:37 -0400
From: "Rhino" <rhino1@sympatico.ca>
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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed.sovam.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 40
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 64.229.23.89
X-Complaints-To: abuse@sympatico.ca
X-Trace: news20.bellglobal.com 999708621 64.229.23.89 (Wed, 05 Sep 2001 12:50:21 EDT)
NNTP-Posting-Date: Wed, 05 Sep 2001 12:50:21 EDT
Organization: Bell Sympatico