Re: perl with sendmail
Anatoly Osiko (anatoly@camtech.com.au)
Wed, 10 Jun 1998 17:23:55 +0930
from standard input:
while (<STDIN>)
{ ..........
perl@digigate.net wrote:
>
> Hi
>
> Anyone knows how i can pipe an email message to a perl script.
>
> In the sendmail aliases file i made the following:
>
> test: "|/usr/testing/tes.pl"
>
> now how can i read the mail from the script ?
>
> Regards
> David Vella
--
Anatoly Osiko
mailto:anatoly@camtech.com.au Phone: +61 8 8303 4906
Systems Analyst Programmer Fax: +61 8 8303 4403
Camtech SA Pty Ltd http://www.camtech.com.au
--- Level 8, 10 Pulteney Street Adelaide SA 5000, Australia ---