RE: Output PERL to E-mail

2003-01-03 Thread Jenda Krynicky
From: "David H. Lynch Jr." <[EMAIL PROTECTED]> > Below is a perlscript to do approximately what you asked. I found it > somewhere else on the web. Unfortunately I do not remember where, and > I have seen several similar. It is pretty basic anyway. > > #!/usr/bin/Perl > > use MIM

RE: Output PERL to E-mail

2003-01-03 Thread Danny Miller
Well, here's how I do it...using sendmail on a *nix machine. my $MAILFROM = '[EMAIL PROTECTED]'; my $MAILSUBJECT = "subject goes here"; my $MAILTO = '[EMAIL PROTECTED],[EMAIL PROTECTED]'; # or "user1\@domain.com" open(SENDMAIL, "| /usr/lib/sendmail $MAILTO") || die; print(SENDMAIL "From: $MAILFR

RE: Output PERL to E-mail

2003-01-02 Thread David H. Lynch Jr.
Below is a perlscript to do approximately what you asked. I found it somewhere else on the web. Unfortunately I do not remember where, and I have seen several similar. It is pretty basic anyway. I have a database application that outputs pay stubs to a text file. I then use another script to conv

Re: Output PERL to E-mail

2003-01-02 Thread Jenda Krynicky
From: "Derek Brinson" <[EMAIL PROTECTED]> > I have a PERL installed on a WinIIS box. This script queries a (SQL) > database, makes a few minor manipulations to that data, then builds a > small paragraph of text, from there. > > So, how do I send that text info to an e-mail address (gathered from >