tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Re: perl+sendmail
@ 1997-10-10  8:34 jean.schuller
  0 siblings, 0 replies; only message in thread
From: jean.schuller @ 1997-10-10  8:34 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-10  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-10  8:34 SUMMARY: Re: perl+sendmail jean.schuller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox