Perl help

From: Lynn W. Taylor (Lynn@BusCom.net)
Date: Wed Feb 02 2000 - 22:59:40 EST


Well, everything is almost working -- thanks to Eric Longman,
webwiz@atlcon.net.

I suspect I have one missing module/library, which OpenSRS assumes will be
loaded. In reg_system.cgi, everything is fine up to line 847. It appears my
system doesn't know inet_aton.

NT 4.0, ActivePerl build 522.... Error is in the fourth line below....

sub send_smtp_mail {
    my( $to, $from, $message ) = @_;
    my( $iaddr, $paddr, $proto ) = undef;
    $iaddr = inet_aton( $SMTP_SERVER );
    $paddr = sockaddr_in( $SMTP_PORT, $iaddr );

Turning off E-Mail "fixes" the problem, of course.

-- Lynn

Lynn W. Taylor
Business Communications Network



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:18 EDT