curl-library
Re: SMTP, data corruption and dot stuffing
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Oct 2011 22:18:57 +0200 (CEST)
Date: Wed, 19 Oct 2011 22:18:57 +0200 (CEST)
On Wed, 19 Oct 2011, operaxxox_at_yahoo.ca wrote:
> You can find the source here : http://pastebin.com/8gQtUZLZ
Lovely, I'll use this to figure out what you're experiencing!
> I do not expect a dot before B, I'm not sending one I'm sending a <CR><LF>
As you already figured out, it isn't a dot. It is the newline. If you do
'config.trace_ascii = 0;' you'll see it in the hexdump output.
The problem is that the carriage return ('\r') is stripped off. I don't know
why yet.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-10-19