[ic] e-mail error

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


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.

I have come up with no matches from the archives.

Any one have any ideas?

Thank you for your time,
Rick Eicher II
www.texol.net