Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
Attachment represents an email attachment
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an IMAP client
func NewClient ¶
func NewClient(cfg *config.IMAPConfig, log *zerolog.Logger) *Client
NewClient creates a new IMAP client
func (*Client) Disconnect ¶
Disconnect closes the IMAP connection
func (*Client) FetchDMARCReports ¶
FetchDMARCReports fetches DMARC reports from the mailbox
func (*Client) MarkAsSeen ¶
MarkAsSeen marks messages as seen
Click to show internal directories.
Click to hide internal directories.