Interface MailUidGenerator

All Known Implementing Classes:
DefaultMailUidGenerator

public interface MailUidGenerator
To generate an unique ID of the mail message.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateUuid(MailEndpoint mailEndpoint, jakarta.mail.Message message)
    Generates an unique ID of the mail message depending on if its POP3 or IMAP protocol.
  • Method Details

    • generateUuid

      String generateUuid(MailEndpoint mailEndpoint, jakarta.mail.Message message)
      Generates an unique ID of the mail message depending on if its POP3 or IMAP protocol.
      Parameters:
      message - the mail message
      Returns:
      the unique id, must never be null.