🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54126

Re: Writing a Posting Program

#54126
From: Andrew Starr
Date: Thu, 06 Sep 2001 00:03
46 lines
3334 bytes
[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <hJsl7.25009$v%4.2629859@news20.bellglobal.com>, Rhino
<rhino1@sympatico.ca> wrote:

> 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.

you could use some premade tools. See site below.

-- 
Andrew Starr
eMailman(r): http://www.emailman.com
NewsReaders(sm): http://www.newsreaders.com
Technical Details
Message-ID: <050920011903418742%atsnntp0601@emailman.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!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!cyclone.swbell.net!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!atsnntp0601
References: <hJsl7.25009$v%4.2629859@news20.bellglobal.com>

Show Full Headers
Complete Article Headers
Message-ID: <050920011903418742%atsnntp0601@emailman.com>
Subject: Re: Writing a Posting Program
Date: Wed, 05 Sep 2001 19:03:41 -0500
From: Andrew Starr <atsnntp0601@emailman.com>
References: <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!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!cyclone.swbell.net!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!atsnntp0601
Newsgroups: news.software.nntp
Organization: http://extra.newsguy.com
Lines: 45
NNTP-Posting-Host: p-859.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
To: "Rhino" <rhino1@sympatico.ca>
Posted-And-Mailed: yes
Mail-Copies-To: poster
User-Agent: Thoth/1.2.3 (Carbon/OS X)
X-Face: (Vez8$J1<GYjyNSNYzny?0Oa=7eH!(R\O8_;Udn&xwGx!ne"Zq|id9)%Gec<b
  xV9+Jebk_#C=a.uMrt3Ns+_?=}&og9l6dovy,2o}M:M$]