* David Golden <[EMAIL PROTECTED]> [2008-11-19T02:37:00]
> Wrapping is evil, except that the SMTP protocol does specify a maximum
> line length of 1000 characters that I think some reports could be
> exceeding.  Net::SMTP doesn't actually check so it just takes whatever
> it's given and puts it on the wire.
> 
> As I said, it's a hypothesis and I don't know that it will work, but
> at the same time, if we're violating SMTP, that could explain why this
> is a heisenbug for some testers but not others.

We don't want to adulterate the content.  SMTP has no mechanism for escaping
line wraps.  The correct thing to do will be to encode the content of the
message (with content-transfer-encoding) at the message level so that the
recipient can decode it and have long lines intact.

This will render the message "on the wire" a tiny bit less legible, but since
nothing should have to display the raw message, that shouldn't be a big deal.

I am glad to help further on this front.

-- 
rjbs

Reply via email to