At 03:18 AM 10/14/2000 -0500, you wrote:
>I am getting an error when the script tries to sned email i think
>
>
>Undefined subroutine &main::inet_aton called at ...\cgi-
>bin\reg_system.cgi line 2061
>
>(may be line 2060) can't remember.
>
>I have read the NT faq. I have the use Socket; addes. I have also
>added the two /r's to the script.
>
>I get the same error.
>
>Is there something else that must eb done now that the script is
>updated?
Here's a work-around...
In OpenSRS.conf, set $SMTP_SERVER to an IP address, not a hostname.
In reg_system.cgi, replace line 1547-8:
$iaddr = inet_aton( $SMTP_SERVER );
$paddr = sockaddr_in( $SMTP_PORT, $iaddr );
with:
$iaddr = "$SMTP_SERVER";
$paddr = "$SMTP_PORT";
--
Phillip Beazley
FutureSights -- Web Hosting, Development & E-commerce
Visit http://www.futuresights.com/ or call 727-578-9600.