From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110294.tru64-unix-managers.marc@archive.invalid> From: "jean.schuller" Date: Tue, 07 Oct 1997 15:35:55 +0000 To: tru64-unix-managers Subject: perl+sendmail question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110294 Hi Gurus, I know it's not really the good place for this but .. I have the following perl script which seems not to work (I say seems because I got no error and nothing else ) : (yes, perl is in "Local" and not in "local") =09 #!/usr/Local/bin/perl5 $mailto =3D 'schuller@sbgal4.in2p3.fr'; $from =3D 'moi-meme'; $subject =3D 'Room reservation '; $msg =3D "Confirmation incoming date : blabla"; open(SENDMAIL, "| /usr/sbin/sendmail -f \"$from\" -t"); print SENDMAIL "To: $mailto\n"; print SENDMAIL "Subject: $subject\n"; print SENDMAIL $msg; close(SENDMAIL); TIA for all help JEAN -------------------------------------------------------------------------= ---- jean.schuller@ires.in2p3.fr _/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ =20 _/ _/_/_/-/ _/_/_/ _/_/_/_/ _/ _/ -/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/_/ =20 local call: 0388106630 Institut de Recherches Subatomiques foreign call: (33)388106630 Bo=EEte Postale 28=20 local fax : 0388106234 23, Rue du Loess foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France -------------------------------------------------------------------------= ----