[ic] e-mail error

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Tue Oct 30 10:29:00 2001


"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)