cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP, data corruption and dot stuffing

From: Daniel Stenberg <>
Date: Wed, 19 Oct 2011 22:18:57 +0200 (CEST)

On Wed, 19 Oct 2011, wrote:

> You can find the source here :

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.

List admin:
Received on 2011-10-19