HP3000-L Archives

April 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gary Dietz <[log in to unmask]>
Reply To:
Gary Dietz <[log in to unmask]>
Date:
Tue, 8 Apr 1997 12:09:24 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
We use a freeware utility written by Randy Medd at Telamon.  Works great!
Check the "dist" directory under the anonymous ftp link at www.telamon.com

Gary

>>> Mark Bixby <[log in to unmask]> 04/05/97 10:31am >>>
Lars Olof Andersson writes:
>
> John Nesbitt wrote:
> >
> > One of the things I would like to do is send email from batch jobs
> > across the Bank's ethernet lan to the person responsible for the job
> > (eg. to say that a job completed successfully, or the tape drive is
> > unavailable, or whatever).
> >
> > Has anyone done this and, if so, could you give me a pointer to
> > available products?

I needed to be able to send e-mail from a web CGI script under 5.5.
Initially
I tried the freeware NetMail/3000 from www.3k.com, but found out that the
freeware version won't send mail from batch jobs.

Since our organization is cash poor right now and I *love* programming
challenges, I used Perl and the Net::SMTP module to send e-mail.  This
solution
requires an external e-mail relay host and won't be able to queue outgoing
e-mail locally if the relay is down.  But we can live with that here.

I plan to adapt this Perl code into a drop-in replacement for /bin/tsmail,
which
would allow /bin/mailx to be used to send mail in a far friendlier manner
than
making direct Net::SMTP calls.  But /bin/mailx has a bug where it doesn't
generate multi-recipient headers properly, and I haven't gotten around to
opening an HPRC call about it yet.

Note that I had to manually rebuild Perl to support select() in order to do
Net::SMTP.  I don't know if Mark Klein has rebuilt the binaries he
distributes
to support select().  Rebuilding Perl is not for the meek.  :-)

The ultimate e-mail solution would be for Internet sendmail to be ported to
MPE.
I wouldn't mind taking a stab at this after I finish my Apache port, but it
will be a long and involved port because BIND and syslog are also required.
I have no idea yet of when I might have the time to begin.

ATOM RSS1 RSS2