Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: perl module Sendmail location

by marto (Cardinal)
on Apr 18, 2018 at 05:11 UTC ( [id://1213099]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213099]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found