Here is what I got when installing the MIME::Lite module. It seems that the module is installed successfully(see below):
--------------------------------------
ppm> install MIME::Lite
Searching for 'MIME::Lite' returned multiple results. Using 'search' instead...
Searching in Active...
Hi:
I apologize if this is a stupid question. I am new to Perl. Thanks in advance for your help!
I can't figure out why I keep getting this eror when running the code below:
"Can't locate object method "send_by_SMTP" via package "MIME::Lite" at C:/Perl/li
b/MIME/Lite.pm line 2451."
The...
Thanks so much for the reply! :)
Ok, So I changed the code to include:
"use NET::SMTP;";
Then changed the last line of code to:
$msg->send("SMTP");
Running the script again get me this error:
"Can't locate object method "send_by_SMTP" via package "MIME::Lite" at C:/Perl/li
b/MIME/Lite.pm...
With the following code, I keep getting this error "'sendmail' is not recognized as an internal or external command, operable program or batch file."
I am using ActivePerl on Windows. MIME::Lite has been installed.
Can someone please shed some light on the possible causes?
Thanks very much...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.