[cl-smtp-devel] bug: external-format is ignored when SSL is used
Anton Vodonosov
avodonosov at yandex.ru
Thu Aug 22 13:18:45 UTC 2013
Hi Jan.
I am using cl-smtp from the lates Quicklisp.
Turns out the tarball included into quickisp is
called cl-smtp-20101107-http, so probably it is not latest.
22.08.2013, 14:38, "Jan Idzikowski" <jan.idzikowski at knowledgetools.de>:
> Hello Anton,
>
> thanks for the patch, I will apply the patch.
>
> But I have a question, do you use the latest version of cl-smtp?
> Since Version 20130118.1 cl-smtp check for non ascii characters in
> message string and send message as quoted-printable.
>
> Best regards
> Jan
>
> Am Donnerstag, den 22.08.2013, 06:24 +0400 schrieb Anton Vodonosov:
>
>> Hello.
>>
>> I've just hit a bug when used CL-SMPT - it failed
>> to send a message with non-ascii characters
>> over secure connection, despite the default
>> :external-format :utf-8 is used.
>>
>> The reason is in the function cl-smtp::smtp-handshake.
>> When SSL is used, the function throws away the original
>> flexi-stream having correct external-forma and
>> creates new flexi-stream, with hardcoded latin-1 external
>> format.
>>
>> The attached patch fixes that by reusing the flexi-stream-external-format
>> of the original flexi-stream when creating the new one.
>>
>> Best regards,
>> - Anton
More information about the cl-smtp-devel
mailing list