[cl-smtp-devel] Patch to support sending raw messages
Anton Vodonosov
avodonosov at yandex.ru
Tue Apr 1 10:08:22 UTC 2008
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.
Best regards,
-Anton
More information about the cl-smtp-devel
mailing list