Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6900871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:36:06+00:00 2026-05-27T07:36:06+00:00

This question is out of curiosity, JavaMail API provides POP3 protocol provider to access

  • 0

This question is out of curiosity, JavaMail API provides POP3 protocol provider to access POP3 messages. There is a method POP3Folder.getUID(message) available that return unique ID string for a message. It returns, for example, in the following format:

Example UID: 1322488254.15180.1.dummy1,S=703

My questions are:

  1. Is there any logic/pattern/algorithm behind in generating this UID uniquely for each messages?
  2. Are there any probabilities/chances of having the same UID for multiple messages? In other words, is this truly unique?
  3. Is this UID is generated by POP3 provider (JavaMail API) or returned by POP3 server?

JavaMail API doc says:

Return the unique ID string for this message, or null if not available. Uses the POP3 UIDL command.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:36:06+00:00Added an answer on May 27, 2026 at 7:36 am

    It’s generated by the POP3 server. Every server does it differently.
    How perfectly it does it depends on the server, but generally I wouldn’t
    worry about getting the same UID for two different messages.
    Depending on anything about the content or structure of the UID would be a mistake.
    In particular, don’t assume that they’re sorted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a stupid question. But just out of curiosity, is there
This question is out of curiosity. Is there a difference between: public abstract class
This question is out of curiosity. Is there a difference between: public abstract class
This question might not seem very technical but, out of curiosity,I want to know
This question is mostly academic. I ask out of curiosity, not because this poses
This is mostly just out of curiosity, and is potentially a silly question. :)
I'm posing this question mostly out of curiosity. I've written some code that is
I know this question could be in vain, but it's just out of curiosity,
Hey guys, this is more of a question out of curiosity, but is it
This question is mainly out of curiosity (I have a different working solution to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.