Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] How to send mail from command line on solaris 10

Expand Messages
  • merlyn@stonehenge.com
    ... 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
    Message 1 of 4 , May 11 5:20 AM
    • 0 Attachment
      >>>>> "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
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.