perl+sendmail question

From: jean.schuller <schuller_at_sbgal4.in2p3.fr>
Date: Tue, 07 Oct 1997 16:35:55 +0100 (MET)

        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);


        TIA for all help

        JEAN



-----------------------------------------------------------------------------
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 Tue Oct 07 1997 - 16:52:25 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT