utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindMailbox

func FindMailbox(c *client.Client, attr string, fallback string) string

func GetMessage

func GetMessage(c *client.Client, id int, folder string) (string, string)

func ImapLogin

func ImapLogin() *client.Client

log in to IMAP

func ListMailboxes

func ListMailboxes(c *client.Client) []string

func MoveMail

func MoveMail(c *client.Client, id int, from string, to string)

func Send

func Send(c *smtp.Client, to string, from string, subject string, body string)

func SmtpLogin

func SmtpLogin() *smtp.Client

log in to SMTP

Types

This section is empty.

Jump to

Keyboard shortcuts

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