I am testing a perl script to send emails based on an a db file extract. Nothing was being sent so I went on to debug the perl script and got following error:
Can't locate Mail/Sendmail.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/aix /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/aix /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/sbin/rsct/perl5/lib/site_perl /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 /usr/opt/perl5/lib/site_perl /usr/opt/perl5/lib .) at eft line 5.
BEGIN failed--compilation aborted at eft line 5.
Then looked for Sendmail.pm on the server and cannot find it?
The question is where should I create this file and what parameters/settings should it contain?
Can't locate Mail/Sendmail.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/aix /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/aix /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/sbin/rsct/perl5/lib/site_perl /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 /usr/opt/perl5/lib/site_perl /usr/opt/perl5/lib .) at eft line 5.
BEGIN failed--compilation aborted at eft line 5.
Then looked for Sendmail.pm on the server and cannot find it?
The question is where should I create this file and what parameters/settings should it contain?