If I get the error

...cwdmail.cgi: Undefined subroutine &main::sendmail called at ...cwdmail.cgi line 29.

And I have SendMail installed with a line

@EXPORT = qw(&sendmail);

Are the following true?

1) In <cwdmail.cgi> I have no objects so the whole file defaults to object <main>

because this is the line that fails:

$err = "Error sending mail: $Mail::SendMail::error" unless sendmail(%mail);

2) Can I test as well on my client machine as on my Mac OS X Server?

Currently both fail, with both having different versions of both SendMail and <cwdmail.cgi>.

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


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to