command line mailer
Darin McBride
pmmail@rpglink.com
Mon, 13 Sep 1999 22:32:50 -0400 (EDT)
On Mon, 13 Sep 1999 16:04:57 -0700, Steve Lamb wrote:
>Monday, September 13, 1999, 4:02:50 PM, Darin wrote:
>> Perl.
>
>> At least that's what I use on OS/2...
>
> Well, that would be a second choice, if there was a local MTA. I dunno
>about you, but I'd just rather not get into the whole sockets programming. ;)
Bah. I use Perl 5, with the Net::SMTP package. No sockets programming
knowledge necessary - I'm proof of that! :-> I have two scripts doing
this now. One is a CGI script, the other is a filter exit in PMMail
(phew - on topic!).
Except that PMMail *insists* that whatever it runs is REXX. So I have
PMMail run MyWrapper.cmd which runs "perl MyProgram.pl" (with the
message file as a parameter). MyProgram then replies to the given
message automatically. (This is how I get BMTMicro's registration
message to give anyone registering RXSem their key within about 15
minutes - the time between polls. I really wish there was a
full-fledged REXX interface to PMMail and PMINews...)