>Angus Lees <[EMAIL PROTECTED]> wrote:
Hi Angus.

>you probably need to have CRLF pairs instead of simple newlines (\r\n
instead of \n).

*** Yes I am using "\r", and "\n". When you say CRLF pairs are your saying
"\r\x0A" or "CRLF" ?

>are you able to dump the mail as it goes through the web server?

*** I can only dump the mail from my end of the server. The form processing my
request is on another server that is not mine. But when I post the mail from
the LWP script, I get an email as well of what I sent.

>it might even be the final mail client helpfully "wordwrapping" email;
apparently some of them do that.

*** I do not know. But what I did was download the form to my server, and
edited the <form> action tag to a script of mine that dumps how the data is
sent by the form after processing. A sample output is shown here.

I typed this in the form body text area from my browser:

"test

test"

I get this back:

"\x0D\x0A\x3CP\x3Etest\x3C\x2FP\x3E\x0D\x0A\x3CP\x3Etest\x3C\x2FP\x3E"

I do not know what "\x3CP", "\x2FP" means. I know the other codes from the
ASCII table.

But my LWP script is sending the following:

"test\n\ntest", and even "test\r\rtest" .

Both shows this when the mail is actually posted:

"testtest".

Louis.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to