DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15517>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15517

A unique message identifier

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-02-07 06:38 -------
There is a unique message identifier, but it is implementation dependent.  You 
need to cast the Mail object to a MailImpl, and call getName.  This name is 
assigned when the Mail object is created.  However, if the message is cloned, 
the clone will receive its own unique ID.

 String uniqueId = ((MailImpl) mail).getName();

In James v3, Mail attributes will be available if someone needs to have a semi-
unique value that stays the same even when cloned.

I'm closing this report on the grounds that the requested unique ID is already 
available to a James-specific matcher or mailet, just not in the Mailet API.  
If this is not sufficient, please let us know.

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

Reply via email to