email

package
v1.8.6-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(addr, identity, username, password string,
	timeout int, tls, insecure bool) error

Ping tests the connection and authentication with email server If tls is true, a secure connection is established, or Ping trys to upgrate the insecure connection to a secure one if email server supports it. Ping doesn't verify the server's certificate and hostname when needed if the parameter insecure is ture

func Send

func Send(addr, identity, username, password string,
	timeout int, tls, insecure bool, from string,
	to []string, subject, message string) error

Send ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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