Article View: news.software.readers
Article #41327Really Tough Question
From: Amjad Alhait
Date: Thu, 04 Jun 1998 00:00
Date: Thu, 04 Jun 1998 00:00
33 lines
1684 bytes
1684 bytes
I need a newsreader (on UNIX) like tin/pine/rn etc to do the following
I need to be able to post to a specific news group in batch mode?
Is that possible?
What I need is to execute the newsreader in script mode and type keys
and enter the newsgroup/subject/body and send all in batch mode?
For more explanation, I have a cgi script that launches sendmail and
compiles and sends the mail in script mode.
here's the code:
where mailer is sendmail
open(MAIL, "|$mailer -t") || die "Can't open $mailer!\n";
print MAIL "To: $aliasmail\n";
print MAIL "From: $FORM{'email'}\n";
print MAIL "Subject: $FORM{'subject'}\n\n";
print MAIL "$FORM{'body'}\n";
print MAIL "\n";
close (MAIL);
Anyone knows of a way to do this with news? I need to post to a
newsgroup using the same way. is there a news reader/post prog that will
enable me to do this?
Much apreaciated.
Please email me directly.
Thanks
--
_______________________________________________________________
AJ Alhait JavaSoft
x53364 alhait@eng.sun.com
Technical Details
Message-ID:
<3577403F.9D082817@eng.sun.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <3577403F.9D082817@eng.sun.com> Subject: Really Tough Question Date: Thu, 04 Jun 1998 00:00:00 +0000 From: Amjad Alhait <alhait@eng.sun.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 359667594 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Sun Microsystems Inc., Mountain View, CA Newsgroups: news.software.readers