[ic] receipt.html not getting displayed

Kevin Walsh interchange-users@icdevgroup.org
Sun Feb 23 15:29:01 2003


Interchange user [interchange.mail@virgin.net] wrote:
> > > 127.0.0.1 NnAvRHnZ:127.0.0.1 - [21/February/2003:19:49:12 +0000] rmstore
> > > /cgi-bin/rmstore/process.html Unable to send mail using Net::SMTP
> > >
> > >   (e-mail receipt)
> > >
> > > 127.0.0.1 NnAvRHnZ:127.0.0.1 - [21/February/2003:19:49:12 +0000] rmstore
> > >
> > > /cgi-bin/rmstore/process.html ERRORS on ORDER TEST0043:
> > > > Error sending mail to interch:
> > > > Can't call method "mail" on an undefined value at
> > >
> > > So is receipt.html not getting displayed because I don't have Net::SMTP
> > > installed?
> > >
> > You could have checked whether you had Net::SMTP installed before asking,
> > but suspect that you have it already.
> >
> I did check before asking; it is not installed.
> 
I suggest that you take one of the following courses of action:

  1. Install Net::SMTP and add a MV_SMTPHOST variable to your
     interchange.cfg file, or

  2. Modify your 'SendMailProgram' directive so that Interchange is
     not expecting to find Net::SMTP.  Perhaps '/usr/sbin/sendmail'
     would be more appropriate.

I suggest #1.

>
> Would IC remain on the checkout page and allow duplicate orders / 
> transactions to be placed if there was an arbitrary mail sending error (such 
> as the recipient host being down), or does this only happen when it can't 
> even *attempt* to try? In any event, shouldn't the receipt page be displayed 
> regardless, so that the customer doesn't try to re-submit the checkout page?
> 
Perhaps that was the case back in October 2001, when your 4.8.2 version
was released.  I don't think that that'd happen now.

> >
> > You probably don't have a line like the following in your interchange.cfg
> > file:
> >
> >     Variable  MV_SMTPHOST  mail.yourdomain.com
> >
> > Add that line, if missing, and restart Interchange. 
> >
> It's there, but I need to put in a valid hostname. I'm not sure whether I'll 
> be using Net::SMTP, sendmail, or what though. That's something I still have 
> to research.
> 
Ok.  MV_SMTPHOST is only used with Net::SMTP.  If you decide to execute
the sendmail binary then you won't need this variable. It doesn't do
any harm to have it anyway, although it may cause you some confusion
in the future.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/