smtpclient

package
v0.0.0-...-e57fc14 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(host string, user string, password string, explicitssl bool, fromaddr string, toaddr string, subject string, body string) (int64, []byte, error)

Send connects to SMTP server with given authentication and connection information. It then sends mail with subject to toaddr and returns the unix timestamp when the mail was send as integer, the smtp protocol log as []byte or, if applicable, an non-nil error.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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