> -----Original Message-----
> From: webster [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 4:02 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: malformed header from script???
>
>
> hmmm, ok, I moved the Content-Type line up in the program,
> and that got rid of
> the error. Now, however, it dumps the raw text of the email -
>
> 220 stanislaw.blah.blah.edu ESMTP Sendmail 8.12.2/8.12.2/SuSE
> Linux 0.6; Thu,
> 25 Jul 2002 14:38:05 -0500 EHLO stanislaw
> 250-stanislaw.blah.blah.edu Hello
> localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES
> 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN
> 250-DELIVERBY 250 HELP
> MAIL FROM: 250 2.1.0 ... Sender ok RCPT TO: 250 2.1.5 ...
> Recipient ok DATA
> 354 E...
>
> - to a the browser window. This, of course, isnt desired.
> What's going on?
That's not the email, it's the conversation with sendmail.
Perhaps this line is doing it:
$sm->setDebug($sm->ON);
> I guess I dont really understand what this Content-Type line
> is doing. If I
> take it out all together, my error comes back. I thought it
> was just a line
> to tell whatever viewing program recieves the text how to
> process it. Is
> there a webpage with a good explanation of what's going on?
It's required by the HTTP protocol. RFC 2616.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]