Lance Prais wrote: > All, > I am trying to "use Mail::Sendmail" to send mail. The problem is that > the sendmail is in the right folder. The only thing that comes to mind is > that I am doing this on NT > > The path for the sendmail.pm is perl/lib/mail/sendmail.pm > > I am getting the following error: > > E:\sea621\siebsrvr\BIN>emailmgr.pl > Can't locate Mail/Sendmail.pm in @INC (@INC contains: > E:/sea621/siebsrvr/BIN/lib > E:/sea621/siebsrvr/BIN/site/lib .) at E:\sea621\siebsrvr\BIN\emailmgr.pl > line 3 > 0. > BEGIN failed--compilation aborted at E:\sea621\siebsrvr\BIN\emailmgr.pl > line 30. >
Either make a directory called Mail in E:/sea621/siebsrvr/BIN/site/lib and put Sendmail.pm in it or put the statement: use lib qw(E:/perl/lib); at the beginning of emailmgr.pl Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]