Hi Daniel, in james you get an unique id via: Mail.getName();
But this name is only valid in james and not javamail. Maybe you could add an unique id as mailheader in the email to use it later via javamail ? bye Norman Daniel Gradecak schrieb: > Hello, > > is it possible somehow, to get the unique ID of an email via a mailet ? > > I would like to send a message to a JMS queue saying there is a new > email, but the "jms mailet" is processed before the delevery to the > storage. so I wonder if it is somehow > possible to get the mail ID so I can send the jms message with that ID > included ... so later on I can access it via java mail api? or is > there a better way to access directly > an email stored on james than using java mail api ? > > I am not even sure if it could be done via the java mail api to > retrieve a specific email according to its ID ? > > Regards, > Daniel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > !DSPAM:1,463b9ca779381334515572! > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
