You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by kropotkin <en...@mms-oxford.com> on 2009/09/08 11:46:33 UTC

Sneding mail from Perl

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