I guess if you don't use cygwin, sendmail won't work for you...  That's
what I usually do...

open(SENDMAIL, "|/usr/lib/sendmail -oi -t -odq")
    or die "Can't fork for sendmail: $!\n";
print SENDMAIL <<"EOF";
From: $login <[EMAIL PROTECTED]>
To: 
Subject: 
                                                                                
Hi, I'm $host and my ifconfig for $IF is $rawifout.
EOF
close(SENDMAIL)     or warn "sendmail didn't close nicely";

I love how easy it is :)

Lincoln

On Mon, 16 Aug 2004 09:00:33 -0700, "Fontenot, Paul"
<[EMAIL PROTECTED]> said:
> I'm in need of a way to send the output of a script from a windows
> server via email and I'm drawing a blank. What is the module called?
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to