Package com.mimecast.robin.imap
package com.mimecast.robin.imap
A lightweight IMAP client for fetching and managing emails.
This package contains a simple IMAP client for fetching emails, searching by Message-ID, deleting messages, and extracting MIME parts.
The ImapClient is a lightweight convenience wrapper
used by tests and utilities to connect to an IMAP server,
open a folder (defaults to INBOX) and fetch messages.
It is intentionally small and focused for testing and automation use-cases.
Key features:
- Server-side IMAP SEARCH by Message-ID for efficient lookups
- Single message deletion after verification
- Folder purge for test cleanup
- MIME part extraction with headers and decoded body content
- See Also:
-
ClassDescriptionLightweight IMAP helper used by tests and utilities to fetch messages from a mailbox.Descriptor for a MIME part containing headers, body content, and hashes.