perl-dev mailing list archives

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

Hello

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
close(MAIL);

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

with thanks

Kropotkin


-- 
View this message in context: http://www.nabble.com/Sneding-mail-from-Perl-tp25342957p25342957.html
Sent from the mod_perl - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message