Re: [PBML] How to send mail from command line on solaris 10
>>>>> "Ramesh" == Ramesh Polepalli <ramesh.polepalli@...> writes:Ramesh> So I need to use some Solaris command like mail or mailx in
Ramesh> Perl script to achieve the target. (This is as far as I can think).
Or use Net::SMTP and talk to an SMTP port directly. And there are modules
built on top of that as well.
Invoking an MUA (sendmail, mailx, etc) from Perl is ripe with potential
problems for security, as well as being generally wasteful of resources.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!