[cl-smtp-devel] Patch to support sending raw messages
Anton Vodonosov
avodonosov at yandex.ru
Fri Apr 4 22:16:09 UTC 2008
Hi All.
>> While running my personal tests (on allegro/linux) i got a problem with
>> your added #\Return after every #\Newline
>> in smtp-output-stream.lisp line 78-79, I commented out these lines and
>> it works for me.
> I think this should be fixed for real - It may be that Allegros stream
> converts #\Newline to #\Return #\Newline - Sending an additional
> #\Return would then be wrong. If we can make sure that all streams do
> the conversion on all platforms, the #\Return addition can just go
> away.
> RFC2821 (2.3.7) mandates that outgoing lines are always terminated by
> #\Return #\Newline, so we'd better make sure that CL-SMTP does that,
> too.
BTW, this is exactly the problem I suggested to fix with my patch,
by opening socket as a binary stream and wrapping it into flexi-stream
with explicitly specified #\Newline conversion.
Best regards,
-Anton
More information about the cl-smtp-devel
mailing list