Article View: news.software.readers
Article #43358Re: Possible to post without newsreader
From: John Moreno
Date: Tue, 22 Sep 1998 00:00
Date: Tue, 22 Sep 1998 00:00
36 lines
1593 bytes
1593 bytes
David Lyons <lyonsd@atl.hp.com> wrote:
[nsr kept in the newsgroups - I don't read cmm]
> John Moreno wrote:
> >
> > Andrew Vardy <avardy@morgan.ucs.mun.ca> wrote:
> >
> > > Is it possible to post to usenet without a newsreader? What are the
> > > steps?
> >
> > Yes.
> >
> > Using which method?
> > WWW?
> > mail?
> > telnet?
> > perl?
>
> I'd be interested in seeing this done via perl.
Using the NNTP module it's easy
$nntp = Net::NNTP->new('your.news.server');
$nntp->post($themessage);
$nntp->quit;
The NNTP module is part of the libnet package, here's a link to the readme:
<http://www.perl.com/CPAN-local//modules/by-module/Net/libnet-1.0605.readme>
--
John Moreno
Technical Details
Message-ID:
<1dfre83.1j4ia8l5pcxinN@roxboro0-029.dyn.interpath.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.misc.mbox.zip!not-for-mailReferences:
<6u4d95$10o$3@coranto.ucs.mun.ca> <1dfpatj.hx062d7yutnmN@roxboro0-036.dyn.interpath.net> <3607D2FE.D5838426@atl.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <1dfre83.1j4ia8l5pcxinN@roxboro0-029.dyn.interpath.net>
Subject: Re: Possible to post without newsreader
Date: Tue, 22 Sep 1998 00:00:00 +0000
From: phenix@interpath.com (John Moreno)
References: <6u4d95$10o$3@coranto.ucs.mun.ca> <1dfpatj.hx062d7yutnmN@roxboro0-036.dyn.interpath.net> <3607D2FE.D5838426@atl.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.misc.mbox.zip!not-for-mail
X-Deja-AN: 393699699
Mail-Copies-To: nobody
X-Face: $!7l?58&Lro>GQtr;A/P^'38=7{P[jPy/?JF*m`Z2&~@3:P3L81Sa7RQ=Y~o| ?'D1cB]L9V=\OS(\8S,5
Organization: phenix@interpath.com
X-FAQs-Read: perl, pascal.mac
User-Agent: MacSOUP/2.4b2
Newsgroups: comp.mail.misc,news.software.readers