[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [raq4] using Sendmail and Perl



On Fri, 5 Oct 2001, Rusty Wilson wrote:
> 
> The following code works *IF* the user enters a
> properly consturcted email address on the form. If
> not, then I get an HTTP 500 - internal server error.

Because sendmail prints out the 'no such user' error to standard out, and
the server reads it and thinks it's part of the http headers, you can
mitigate it somewhat by flushing output before calling sendmail ;)

(Will at least make it easier to debug, also use::Carp helps a lot

gsh