Hello osf managers,
Sorry for my delay to answer. Many thanks to :
Gabriel Gutfreund, Oisin McGuinness ,George Gallen
Paul A Sand,Gernot Salzer,Ann Cantelow ,John K. Peterson
Lance A. Brown ,Larry Griffith ,Rob Naccarato,
James Holmes,Kevin Oberman ,Tom Webster
The solution :
Uuuuuhhh! shame on me.. the mailer was not set so
mailsetup did the rest of the job
Thanks again
JEAN
My question :
> 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")
>
> #!/usr/Local/bin/perl5
> $mailto = 'schuller_at_sbgal4.in2p3.fr';
> $from = 'moi-meme';
> $subject = 'Room reservation ';
> $msg = "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);
-----------------------------------------------------------------------------
jean.schuller_at_ires.in2p3.fr _/ _/_/_/ _/_/_/ _/_/_/_/
_/ _/ -/ _/ _/ _/
_/ _/_/_/-/ _/_/_/ _/_/_/_/
_/ _/ -/ _/ _/
_/ _/ _/ _/_/_/ _/_/_/_/
local call: 0388106630 Institut de Recherches Subatomiques
foreign call: (33)388106630 Boîte Postale 28
local fax : 0388106234 23, Rue du Loess
foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France
-----------------------------------------------------------------------------
Received on Fri Oct 10 1997 - 09:51:32 NZDT