event

package
v3.1.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressParts

type AddressParts struct {
	Local  string
	Domain string
}

AddressParts contains the local and domain parts of an email address.

type InboundMessage

type InboundMessage struct {
	Mailboxes []string
	From      *mail.Address
	To        []*mail.Address
	Subject   string
	Size      int64
}

InboundMessage contains the basic header and mailbox data for a message being received.

type MessageMetadata

type MessageMetadata struct {
	Mailbox string
	ID      string
	From    *mail.Address
	To      []*mail.Address
	Date    time.Time
	Subject string
	Size    int64
	Seen    bool
}

MessageMetadata contains the basic header data for a message event.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL