> > use Net::SMTP;
> > $smtp = Net::SMTP->new('localhost') or die "Cannot connect
> > to mailhost";
> > from apache not works with message:
> > Error in Perl code: Cannot connect to mailhost
>
> Try with Net::SMTP->new('localhost', Debug => 1) . This should give you
> some information what's going on in the syslog
>
I used this option already.
there wasn't any additional information in syslog or in httpd logs file.
Only httpd error:
[Tue Sep 12 09:05:17 2006] [error] [3203]ERR: 24: Error in Perl code:
Cannot c
onnect to mailhost at /var/www/centr/a.shtml line 19.
execution from embperl (embpexec.pl a.shtml) is success.
Seems, I have to debug NET::SMTP or Apache itself
Thank you
Andrew
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]