I went back and removed files and then tried a clean install of <Mail-Sendmail-0.78.tar>.

I had tried different versions of SendMail and had made many erroneous assumptions about compatibility of the Sendmail packages, including the one John mentioned at <http://www.tneoh.zoneit.com/perl/SendMail/>.

I carefully set case awareness between Sendmail and <cwdmail.cgi>. My original install notes sent to me by an anonymous "friend" had me doing a drag-n-drop install. So I believe that Sherm correctly identified one (of the many) problems, being the drag-n-drop.

Well, I actually did get the mail sent from the HTML form on page
        <http://www.cascadewebdesign.com/contact.html>
as desired.

The HTML page, though, is then filled with errors, so the form submitter is not aware of the success. Try the page if you wish to see the errors. Here's one of 5.
*********
Can't locate loadable object for module MIME::Base64 in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at /Library/Perl/MIME/QuotedPrint.pm line 14
*********


I do have some version of <Base64.pm> and <QuotedPrint.pm> in </Library/Perl/MIME/>

More notes: my server is using Jaguar so the path is </Library/Perl/Mail/>, my client is Panther and I will re-try there with the install going into </Library/Perl/5.8.1/Mail>. Note: you must log in as root to do the <Mail-Sendmail-0.78.tar> install.

The errors most certainly relate to the way Base64 and QuotedPrint were installed, now if I can just find the versions of those modules to go with my current version of <Sendmail>.

Thanks for all the help,
Baiss

On Mar 4, 2004, at 3:25 PM, Sherm Pendley wrote:

On Mar 4, 2004, at 4:17 PM, John Delacour wrote:

the SendMail.pm I do use, and which I presumed was the commonly used one, is that from

It's not on CPAN, and not mentioned in any of the faqs or docs I'm aware of. I think it'd be a bit of a stretch to assume it's in widespread use.


At any rate, the OP is almost certainly using Mail::Sendmail. He's calling a non-oop sendmail() function, passing it a %mail hash, and checking for an error in $Mail::Sendmail::error - it's more or less straight out of the Mail::Sendmail docs.

If he really is trying to use a Mail::Sendmail that's been drag-n-drop copied instead of correctly installed, he'll see *exactly* the problem he's mentioning. The rough equivalent to "use Sendmail;" is this:

BEGIN {
        require "Sendmail.pm";
        Sendmail::import();
}

If he mistakenly drag-n-dropped the Sendmail.pm file into the wrong folder, and then tried to compensate for that by adjusting the use statement, he'll get exactly the error he's reported. The use will find the file and require() it, but because the code in the file is actually in the Mail::Sendmail package, the call to Sendmail::import() fails, so sendmail() isn't imported into main.

Another reason I believe it's a drag-n-drop error is that, just last week, the same person had the same problem, although with different symptoms - he had drag-n-dropped a .pm file for a module that has some compiled C functions, and was wondering why he was getting errors about the .dylib not being found.

sherm--


----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>



Reply via email to