Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: send mail cannot run

by vrempire (Sexton)
on Sep 07, 2000 at 21:37 UTC ( [id://31438]=note: print w/replies, xml ) Need Help??


in reply to send mail cannot run

well,I run the program on windows 98,using the personal web server and I using the activestate perl version 5.6.0.I tried to install the MailTools,but it always fails.I download the MailTools from the CPAN site,and then I tried to install it using the PPM,using the command ppm>install MailTools and it said Error installing package MailTools.Could not locate PPD file. What is the correct way to get the MailTools installed to the my Perl 5.6 using the PPM.Or is there any other way? Besides, My program that I want to run look like this,just to test if the send mail program works,
#!/usr/bin/perl use Mail::Mailer; $from_address = "vrempire"; $to_address = "vrempire\@hotmail.com"; $subject = "REGISTRATION FOR NEW MEMBER"; $body = "REGISTRATION FOR NEW MEMBER"; $mailer = Mail::Mailer->new(); $mailer->open({ From => $from_address, To => $to_address, Subject => $subject, }) or die "Can't open: $!\n"; print $mailer $body; $mailer->close();
When I want to execute it using the command prompt,it returns the message
Bad command or file name Can't locate auto/Mail/Util/mailaddress.al in @INC (@INC contains: c:/ +Perl/lib c:/Perl/site/lib .) at C:/Perl/lib/Mail/Mailer/smtp.pm line +21
. Please help me on this,friends... Your concern is very appreciated by me.

Log In?
Username:
Password:

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

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

    No recent polls found