I'm setting up a mysqls email list. 

In the config file it has this varables
# Path to SendMail
$mailprog = "/usr/sbin/sendmail";
$smtp_server = "localhost.com";

When I try to login I get this:

Can't locate Mail/Sender.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux 
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux 
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl 
.) at admin.cgi line 1134.
BEGIN failed--compilation aborted at admin.cgi line 1134.

This is the line in the script it refers to:

   use Mail::Sender;
   ref ($sender = new Mail::Sender({from => $admin_email,smtp => $smtp_server})) or 
die "$Mail::Sender::Error\n";
   while ($pointer = $sth->fetchrow_hashref) {
 $new_contact = $pointer->{"Contact"};
 (ref ($sender->MailMsg({to =>$new_contact, subject => $msubject, msg => $mmessage}))
  and print ""
 )
 or die "$Mail::Sender::Error\n";
   }
   $sth->finish;
   $dbh->disconnect; 

Can someone tell me how to correct this problem?

Thanks and God Bless
Dan

Reply via email to