client

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	Subject string
	Body    string
	Sender  string
	Date    string
}

type EmailClient

type EmailClient struct {
	Email    string
	Password string
	Url      string
	Port     int
	// contains filtered or unexported fields
}

func (*EmailClient) Login

func (e *EmailClient) Login() string

func (*EmailClient) Logout

func (e *EmailClient) Logout()

func (*EmailClient) Read

func (e *EmailClient) Read(header textproto.MIMEHeader) (string, string)

func (*EmailClient) SearchBySender

func (e *EmailClient) SearchBySender(senderEmail string) ([]*Email, string)

Jump to

Keyboard shortcuts

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