in reply to perl module Sendmail location

Mail::Sendmail doesn't interact with or require a command line sendmail program. It uses SMTP. The documentation shows how to configure it.

Update::

" I installed Sendmail..."

Do you mean to say you installed the perl module Mail:Sendmail, not Sendmail?

Replies are listed 'Best First'.
Re^2: perl module Sendmail location
by tultalk (Monk) on Apr 18, 2018 at 10:51 UTC

    Did not "install" Mail::Sendmail. I copied Sendmail to local dir (below). Got it working: Changed name to sendMail and function call to SendMail.

    use lib qw(/home/bondocom/public_html/httpsdocs/cgi-bin/lib/perl/);

    use Mail::sendMail;

    Works fine. Now to get encryption "working fine". Using free certs from Comodo.

    Often go to bed with problem and wake up with solution

    Should wait until mornings to post questions

      "Often go to bed with problem and wake up with solution"

      I know the feeling :) This isn't intended to be a criticism, but based on following a few of your threads, you seem to be making life unnecessarily difficult for yourself at times. I don't know the exact constraints of your setup, however check out local::lib, cpanm and local::lib would let you install & maintain modules from cpan to a local directory, while being quick and easy to use.

        Thanks for suggestion

        I took a peek

        My solution took 10 minutes and was a one time shot

        There is always a workaround for everything. Just have to find it

        I will keep the suggestion at hand in case I run into more similar problems

        Best regards