[ic] e-mail error

Rick Eicher II interchange-users@interchange.redhat.com
Tue Oct 30 11:03:00 2001


I have it working now. It was an Id10t error. Needed to restart interchange.

Thanks,
rick

-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of
Stefan Hornburg (Racke)
Sent: Tuesday, October 30, 2001 8:29 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] e-mail error


"Rick Eicher II" <rick@texol.net> writes:

> Hello all,
>
> I am haveing a problem getting the order emailed. I get the following in
the
> catalog error_log:
>
> 216.111.193.94 GuEjuRby:216.111.193.94 - [29/October/2001:09:35:33 -0400]
> foundation /cgi-bin/foundation/proces s.html ERRORS on ORDER TEST0005:
> Error sending mail to rick@texol.net:
> Can't call method "mail" on an undefined value at
> /usr/lib/interchange/lib/Vend/Util.pm line 1988.
>
> So I looked at the code starting at line 1977:
>
> my $from = $::Variable->{MV_MAILFROM}
>                                 || $Global::Variable->{MV_MAILFROM}
>                                 || $Vend::Cfg->{MailOrderTo};
>
>                 for(@extra_headers) {
>                         s/\s*$/\n/;
>                         next unless /^From:\s*(\S.+)$/mi;
>                         $from = $1;
>                 }
>                 my $mime = '';
>                 $mime = Vend::Interpolate::mime('header', {}, '') if
> $use_mime;
>                 $smtp->mail($from)or last SMTP;
>
>
> So my guess is that the $from is not set right. So it follows that
> MV_MAILFROM or MailOrderTo is wrong. I have MailOrderTo set to
> "rick@texol.net". I have no idea where or how to check or change
> MV_MAILFROM.

Have you restarted IC/reconfigured the catalog ?

Ciao
        Racke

--
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users