in reply to Win32::Daemon and Outlook
Try this:
Don't forget the extra break after the Subject line.# I forget the exact path to sendmail in NT. # -t tells sendmail to scan the message for To:, From:, etc. $sendmail = 'c:\bin\sendmail.exe -t'; open(MAIL, ">$sendmail") || die 'Could not load sendmail!'; print MAIL <<EOF To: batgnat@hiscorp.com From: fileserver@hiscorp.com Subject: 2GB Warning on File Server Your fileserver has less than 2GB of free disk space. EOF close(MAIL);
Hope this helps!
Friar 'kaboo
avoiding NT problems with archaic Unix solutions since 1996 {g}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (sendmail) Re: Win32::Daemon and Outlook
by BatGnat (Scribe) on Nov 28, 2000 at 02:10 UTC |