perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kropotkin <>
Subject Sneding mail from Perl
Date Tue, 08 Sep 2009 09:46:33 GMT


I don't quite understand the interaction between Perl and sendmail.

If I send an email like this:
  open(MAIL,"|$mailprog -t -oi") or die "mail can't open ";
  print MAIL "To: $recipient\n";
.... other headers and body

will Perl have to wait for sendmail (the mail program) to return a value
after open() ? Are there any other delays here?

with thanks


View this message in context:
Sent from the mod_perl - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message