From: mathew
Date: 2011-02-15T06:09:32+09:00
Subject: [ruby-core:35233] Re: Patch to Net::InternetMessageIO
On Fri, Feb 11, 2011 at 17:08, Daniel Cormier wrote:
> Perhaps that is a better solution, but shouldn't sending a message
> using DATA work properly whether in ESMTP mode or not?
Yes, and the solution I proposed would work in ESMTP mode and also in
legacy SMTP mode. In ESMTP mode net/smtp would send the data verbatim;
in legacy SMTP mode it would perform the quoting as per your patch.
Basically, I don't think it's a good idea to perform unnecessary
quoting of data when in ESMTP mode.
mathew
--