Yes message-ID calls to MimeMessage.saveChanges() generate a new message-ID.

This is expected behaviour. The theory is that any changes made make this a different 
message o the previous version.
I don't agree with that, but its not going to change.
The trick is to get the message id before you save changes and put it back once the 
save is done.

d.

> -----Original Message-----
> From: Scherer Pierre [mailto:[EMAIL PROTECTED]
> Sent: 06 March 2003 18:05
> To: James-dev
> Subject: ID-mail
> 
> 
> 
> Hi again,
> 
> Is it possible that the ID of a message change during is life-cycle in the
> spoolmanager?
> Because in my log file 'tracking', I have a change of ID for the same mail
> when mail change of processor (root -> transport)
> like this :
> 
> ----------
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet 
> [AddFooterTrack], Sender
> [EMAIL PROTECTED], recipient [EMAIL PROTECTED], message id
> [<[EMAIL PROTECTED]>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [addFooter : Helloworld]
> 
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet 
> [AddHeaderTrack], Sender
> [EMAIL PROTECTED], recipient [EMAIL PROTECTED], message id
> [<[EMAIL PROTECTED]>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [header add : name [X-MailetHeader]; value [TEST]]
> 
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet [ToProcessorTrack],
> Sender [EMAIL PROTECTED], recipient [EMAIL PROTECTED], message id
> [<[EMAIL PROTECTED]>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [pass to transport processor]
> 
> 06/03/03 18:48:08 INFO  tracking: Journal : Mailet [LocalDeliveryTrack],
> Sender [EMAIL PROTECTED], recipient [EMAIL PROTECTED], message id
> [<[EMAIL PROTECTED]>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [transport], size [727.0], size
> body [13], info [Mail is stroring in the local mailbox of :
> [EMAIL PROTECTED]
> 
> 06/03/03 18:48:08 INFO  tracking: Journal : Mailet [LocalDeliveryTrack],
> Sender [EMAIL PROTECTED], recipient [EMAIL PROTECTED], message id
> [<[EMAIL PROTECTED]>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [ghost], size [727.0], 
> size body
> [13], info [Mail comes GHOST]
> ----------
> 
> There is a change of ID between 3 and 4 log.
> 
> Thanks evreyone for your constant help!!!!
> 
> -Pierre
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to