tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "jean.schuller" <schuller () sbgal4 ! in2p3 ! fr>
To: tru64-unix-managers
Subject: perl+sendmail question
Date: Tue, 07 Oct 1997 15:35:55 +0000	[thread overview]
Message-ID: <96078618110294.tru64-unix-managers.marc@archive.invalid> (raw)


	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
-------------------------------------------------------------------------=
----

                 reply	other threads:[~1997-10-07 15:35 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