writing to a mail file handle and PERL

1999-12-15 Thread clifford thurber
Hello, I currently have a script written in PERL which contains the lines: $mailprog = "/usr/lib/sendmail"; open(MAIL, "|$mailprog -t"); print MAIL "To: $email\n"; print MAIL "From: $from\n"; #print MAIL "Cc: $boss\n"; print MAIL "Subject:$subject\n"; print MAIL "MIME-Version: 1.0\n"; print

Re: writing to a mail file handle and PERL

1999-12-15 Thread Dave Sill
clifford thurber [EMAIL PROTECTED] wrote: Hello, I currently have a script written in PERL which contains the lines: $mailprog = "/usr/lib/sendmail"; open(MAIL, "|$mailprog -t"); Try: $mailprog = "/usr/local/var/qmail/qmail-inject"; open(MAIL, "|$mailprog"); The script sends the mail