in reply to eof without closing the pipe

How about this:
open(SENDMAIL"|$sendmail") or die "Cannot open $sendmail: $!"; print SENDMAIL "To: " . join ",",@mail_to . "\n"; print SENDMAIL "From: csorensen\@uptimeresources.net \n"; print SENDMAIL "Subject: South African tourism survey \n"; print SENDMAIL "Content-type: text/plain \n\n"; print SENDMAIL $content; close(SENDMAIL);

Replies are listed 'Best First'.
RE: Re: eof without closing the pipe
by PipTigger (Hermit) on Jun 30, 2000 at 12:28 UTC
    Would this join create an enormously fat To: line that would get sent to everybody in it or does it do something more subtle?

    -PipTigger

    p.s. Initiate Nail Removal Immediately!
      It would create an enormously fat To: line. I guess you could use bcc to hide that, but the original question didn't want to use bcc. Another choice is using bulkmail, which has already been suggested by someone else.