Interface MailUidGenerator

  • All Known Implementing Classes:
    DefaultMailUidGenerator

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

      • generateUuid

        String generateUuid​(MailEndpoint mailEndpoint,
                            javax.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.