[cl-smtp-devel] Patch to support sending raw messages

Erik Huelsmann ehuels at gmail.com
Tue Apr 1 10:30:20 UTC 2008


On Tue, Apr 1, 2008 at 12:08 PM, Anton Vodonosov <avodonosov at yandex.ru> wrote:
>
>
>  01.04.08, 10:44, "Jan Idzikowski" <jan.idzikowski at knowledgetools.de>:
>
>
>  > Hello Anton,
>  > I have investigated the CRLF transformation problem,
>  > '(:latin-1 :eol-style :lf)  is wrong, this has to change to
>  > (make-external-format :latin-1) it use the *default-eol-style*.
>  >  http://www.weitz.de/flexi-streams/#make-external-format
>  > Currently i have no access to a windows system to test it,
>  > but it should work.
>
>  Using '(:latin-1 :eol-style :lf) is the point of the fix,
>  because we want predictable conversion of #\Newline.
>
>  With *default-eol-style* we would have
>
>   (write-char #\Return sock)
>   (write-char #\NewLine sock)
>
>  resulting into CR CR LF on windows, instead of CR LF.

I can confirm that we did something like that on Windows with CL-IRC
(which also requires CRLF line endings in its protocol).

Bye,

Erik.



More information about the cl-smtp-devel mailing list