loginauth

package module
v0.0.0-...-8380ec2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MIT Imports: 2 Imported by: 0

README

loginauth

Package loginauth implements the SMTP LOGIN authentication mechanism compatible with the net/smtp package

Documentation

Overview

Package loginauth implements the SMTP LOGIN authentication mechanism compatible with the net/smtp package

Some code adapted from: https://gist.github.com/homme/22b457eb054a07e7b2fb License in LICENSE-andelf

Some code adapted from: https://golang.org/src/net/smtp/auth.go Copyright 2010 The Go Authors. All rights reserved. License in LICENSE-GoAuthors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(username, password, host string) smtp.Auth

New returns an Auth that implements the LOGIN authentication mechanism The returned Auth uses the given username and password to authenticate on TLS connections to host.

Types

This section is empty.

Jump to

Keyboard shortcuts

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