Hello all,

I'm trying desperately to send email attachments with MIME::Lite but can't
seem to overcome this error:

Can't use string ("MIME::Lite") as a HASH ref while "strict refs" in use in
use at /usr/local/lib/perl5/site_perl/MIME/Lite.pm line 932.

It stems from this line of code that, according to the MIME::Lite docs, is
supposed to point the module at the proper place for sendmail:

MIME::Lite->send("sendmail", "/usr/sbin/sendmail -t -oi -oem") or die
"Couldn't set up sendmail: $!";

If I leave it out I don't get an error message but neither do I get the
mail.

I know that this is a Win32 list, but I feel a lot more comfortable asking
you all.  I searched deja for an answer on comp.lang.perl and found one
person with the same problem but no answers.  This doesn't seem to be a
platform-specific problem, only a perl or MIME::Lite problem that my limited
faculties cannot solve.

Thanks much,

Larry

=====================
Lawrence J. Buza




_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to