From: "jean.schuller" <schuller () sbgal4 ! in2p3 ! fr>
To: tru64-unix-managers
Subject: SUMMARY: Re: perl+sendmail
Date: Fri, 10 Oct 1997 08:34:40 +0000 [thread overview]
Message-ID: <96078618110372.tru64-unix-managers.marc@archive.invalid> (raw)
Hello osf managers,
Sorry for my delay to answer. Many thanks to :
Gabriel Gutfreund, Oisin McGuinness ,George Gallen =20
Paul A Sand,Gernot Salzer,Ann Cantelow ,John K. Peterson
Lance A. Brown ,Larry Griffith ,Rob Naccarato,=20
James Holmes,Kevin Oberman ,Tom Webster=20
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 =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);
-------------------------------------------------------------------------=
----
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
-------------------------------------------------------------------------=
----
reply other threads:[~1997-10-10 8:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox