This discussion is archived
13 Replies Latest reply: Dec 6, 2012 12:05 AM by bshannon RSS

Differences in the message id between IMAPMessage and MimeMessage

977393 Newbie
Currently Being Moderated
Hi,
When I'm getting IMAPMessage from the IMAP server and calling getMessageID() I got next id (for the privacy reasons it not real, but reproduce the differences) :
<20060421154815.XPTL8241.fed1rmmtao11.host.net@xxx.yy.www.q>

Then, when I saved this message to the disk and read it as MimeMessage and calling getMessageID() I got this :
<20060421154815.XPTL8241.fed1rmmtao11.host.net@[xxx.yy.www.q]>

As you can see the difference is in [] for the string after @.

What could cause to such behavior ?

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points