|
From: Jonathan S. <gel...@ge...> - 2002-03-08 11:42:35
|
On Thu, 7 Mar 2002, Dru Morgan wrote: > I have replaced Matt's script with the NMS script. I > have added my domain and my email to the user > definable parts. I think I have to change my mailprog > to "Geocel.Mailer" due to the fact that I have an NT > server. Either changing it or leaving it to the > default, I get the following error... > > Application Error > An error has occurred in the program > > Broken pipe at d:\sites\heavenly\cgi-bin\FormMail.pl > line Ah, The problem here is that Geocel.Mailer is an OLE object and not an executable , consequently it is not just a matter of changing $mailprog but rather changing virtually all of the send_mail() subroutine. You could in principle replace the send_mail() subroutine in FormMail.pl with one similar to the examples found on the Geocel web site at http://www.geocel.com/ . I wouldn't however recommend replacing the NMS FormMail with the one they have there as this is based entirely on the MSA version and still exhibits all of the problems with that script. I Have Cc'd this to the developer list in case anyone who has a Windows machine they can test this on wants to do a port of the NMS FormMail and send it GeoCel :) /J\ -- Jonathan Stowe | <http://www.gellyfish.com> | This space for rent | |