perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Antipin" <...@infonn.ru>
Subject Re: mail sending problem
Date Tue, 12 Sep 2006 05:13:29 GMT
> > 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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message