> The problem: MimeMessageWrapper was calling saveChanges() in writeTo(),
> and saveChanges() sets a new Message_Id every time, regardless.

> please examine this patch and tell me why I shouldn't commit it.

Does it break any existing code?  If we don't call saveChanges(), changes to the 
headers are not saved.  See: http://james.apache.org/FAQ.html#11.  Are we going to 
have to make changes elsewhere to call it directly, and change the FAQ?

> its my firm belief that we should not change message-ID's unless we clone the 
>message.

Why does MimeMessage.saveChanges() (or MimeMessage.updateHeaders()) change the 
Message-ID header?

The following seems to provide user control over Message-ID generation:

http://www.magelang.com/faq/view.jsp?EID=516514

        --- Noel

ref:

http://java.sun.com/products/javamail/1.3/docs/javadocs/javax/mail/Message.html#saveChanges()
http://java.sun.com/products/javamail/1.3/docs/javadocs/javax/mail/internet/MimeMessage.html#saveChanges()
http://java.sun.com/products/javamail/1.3/docs/javadocs/javax/mail/internet/MimeMessage.html#updateHeaders()


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to