I am not sure what type of system you are on but if you are running the perl
script on a UNIX type of machine and sendmail is installed and functioning
then you may wish to resort to using a system() call at the end of your
script. (barring that this does not run every 5 seconds) My preference when
only sending one (and always the same) email out after a script would be to:
system("usr/sbin/sendmail djohnson\@someplace.com mailfile");
# usr/sbin/sendmail is the location and executable of the sendmail program
(UNIX, LINUX, etc.)
# djohnson@... self explanitory
# mailfile a text file containing the information you want mailed. This can
even be created by the script
Good Luck,
Doug
-----Original Message-----
From: Yacketta,Ronald J [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 4:52 PM
To: Beginners (E-mail)
Subject: mail
Folks,
I search CPAN and found a good deal of Mail packages, seeing that I am
frankly new
which of them would you recommend to use in a perl script that will be
sending a single
email at the completion of a set of tasks?
-Ron
==
______
/_____/\ Ronald J. Yacketta
/____ \\ \ Solaris System Engineer
/_____\ \\ / One Pyrex Place
/_____/ \/ / / Elmira, NY 14902
/_____/ / \//\
\_____\//\ / /
\_____/ / /\ / Phone: 607-377-8328
\_____/ \\ \ Fax: 607-377-8329
\_____\ \\ Cell: 607-368-0208
\_____\/ email: [EMAIL PROTECTED]
==
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.