Multiple problems with javamail Message serialization
-----------------------------------------------------

         Key: GERONIMO-1956
         URL: http://issues.apache.org/jira/browse/GERONIMO-1956
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: mail  
    Versions: 1.1    
    Reporter: Rick McGuire
 Assigned to: Rick McGuire 
    Priority: Blocker
     Fix For: 1.1


There are multiple problems with the MimeMessage.writeTo() method when used to 
write MultiPart message data to an output stream.

1)  The intenret headers are missing a space between the ":" delimiter and the 
header data.
2)  The filtering version of MimeMessage.writeTo() is not properly processing 
the header ignore list. 
3)  The setDataHandler() method of MimeMessage and MimeBodyPart are not 
clearing existing Content-Type and Content-Transfer-Encoding headers.
4)  The MimeMessage and MimeBodyPart classes are not setting a default 
Content-TransferEncoding header when saveChanges() is called. 
5)  Remove header improperly gives a NullPointerException when removing a 
non-existent header. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to