Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java MAIL  RSS feed

 
Suhani arora
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi To ALL ..

This is SUHANI again..

Frnds Every Message has a unique field MESSAGE ID
Any body please tell me how could i get this MESSAGE ID from Java
 
Sharad Agarwal
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suuhani - this is not a Servlet question. Please post to a more appropriate group and your chances of getting help will be higher.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it depends on what Message class you are using. If you are using MimeMessage it has a method aptly called getMessageID()

The Message class has a method called getMessageNumber(), if you are using that class.

Yes, this is the wrong forum, but it is difficult to determine which would be the best forum. In this case I would think it would be EJB and Other J2EE Technologies since the message packages are part of J2EE API.

Moving this to that forum.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!