Yes Charles, someone in James community helped me with this.

Thanks for your time!



On Sun, Mar 1, 2015 at 3:48 AM, Eric Charles <e...@apache.org> wrote:

> You should use msg.getMessageId()
>
> On 10/21/2014 07:35 AM, Girivaraprasad Nambari wrote:
> > Hi Everyone,
> >
> > I have observed an interesting scenario today with James messageID, I
> > received few hundred emails and all emails got incremented messageID.
> >
> > Today I deleted few old emails. The emails I received after cleaning up
> old
> > emails got old message Id's.
> >
> > 1) Does james re-use messageID?
> > If yes, is there anyway we can disable this feature?
> >
> > In my code I am using following statement to retrieve message ID:
> >  MimeMessage msg = (MimeMessage) cMsg;
> >  int messageNumber = msg.getMessageNumber();
> >
> > As per mail specification, shouldn't messagenumber be unique?
> >
> > Any help appreciated.
> >
> > Thank you,
> > Giri
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
>

Reply via email to