Moon, John wrote: [snip] > > Here something that I do routinely... > > <snip> > open MAILMAN, "| rmail $To_Address"; > print MAILMAN "Subject: Some subject\n"; > print MAILMAN "From: $Reply_to\n\n"; > print MAILMAN "some message....."; > close MAILMAN; > </snip> >
And routinely it is a bad idea...please don't encourage its use here. Mail should be handled delicately, by a module designed to do it properly. http://danconia.org FMI... What the difference in: open EXTRACT, "|sort > /tmp/Tmp$$"; And open MAILMAN, "|rmail $to_someone"; jwm -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>