mail

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMail

func GetMail(username string, password string, index uint32) []byte

GetMail gets a mail with specified index from inbox

func GetMailSubject

func GetMailSubject(c *client.Client, index uint32) []byte

func SendMail

func SendMail(from string, to []string, subject string, body []byte, password string)

SendMail sends a mail from a user to several users

func StartImapSession

func StartImapSession(username string, password string) *client.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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