Re: How to send a notification mail from Windows/NT?
Hello David, Friday, July 20, 2001, Nazary, David <[EMAIL PROTECTED]> wrote: ND> Hi, ND> When I use the following script to send mail: [...] ND> I get this error message. Any ideas how I can resolve this? C:\CM\utils>>c:\perl\bin\perl smtp_mailer2.pl ND> The system cannot find the path specified. ND> Use of uninitialized value in scalar assignment at ND> c:/Perl/site/lib/Net/Domain.pm line 191. ND> Use of uninitialized value in scalar assignment at ND> c:/Perl/site/lib/Net/Domain.pm line 191. ND> Use of uninitialized value in pattern match (m//) at ND> c:/Perl/site/lib/Net/Domain.pm line 215. ND> Use of uninitialized value in split at c:/Perl/site/lib/Net/Domain.pm line ND> 219. looks like your perl installation damaged. try to reinstall. Best wishes, Maximmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to send a notification mail from Windows/NT?
Hi, When I use the following script to send mail: #!perl -w ### script name "smtp_mailer2.pl" use Net::SMTP; $smtp = Net::SMTP->new('mailhost'); $smtp->mail($ENV{USER}); $smtp->to('dnazary'); $smtp->data(); $smtp->datasend("To: dnazary\n"); $smtp->datasend("\n"); $smtp->datasend("A simple test message\n"); $smtp->dataend(); $smtp->quit; I get this error message. Any ideas how I can resolve this? C:\CM\utils>c:\perl\bin\perl smtp_mailer2.pl The system cannot find the path specified. Use of uninitialized value in scalar assignment at c:/Perl/site/lib/Net/Domain.pm line 191. Use of uninitialized value in scalar assignment at c:/Perl/site/lib/Net/Domain.pm line 191. Use of uninitialized value in pattern match (m//) at c:/Perl/site/lib/Net/Domain.pm line 215. Use of uninitialized value in split at c:/Perl/site/lib/Net/Domain.pm line 219. Thanks David -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]