classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-javamail] line wrapping in MIME


From: Chris Burdess
Subject: Re: [Classpathx-javamail] line wrapping in MIME
Date: Mon, 20 Jun 2005 19:18:25 +0100
User-agent: Mutt/1.4i

Archit Shah wrote:
> While RFC2822 indicates that lines must be wrapped at 998 characters, it 
> suggests that the MIME RFCs should not be ignored, "As was stated 
> earlier, there are other standards documents, specifically the MIME 
> documents [RFC2045, RFC2046, RFC2048, RFC2049] that extend this standard 
> to allow for different sorts of message bodies." RFC 2049 states "line 
> wrapping or line truncation imposed by mail transports is STRONGLY 
> DISCOURAGED, but unavoidable in some cases."
> 
> Attached is patch that removes line wrapping in the bodies of mime parts 
> by eliminating the use of RFC2822OutputStream in MimeBodyPart and 
> MimeMessage. Also attached is a JUnit test case for this behavior. This 
> patch fixes test failures found when testing JOnAS with the classpathx 
> Javamail implementation. Further testing is on going with results 
> available on Monday.

Thanks Archit, this patch has now been applied.
-- 
Chris Burdess




reply via email to

[Prev in Thread] Current Thread [Next in Thread]