goMail

package module
Version: v0.0.0-...-f59b21f Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: MIT Imports: 6 Imported by: 1

README

Go Mail

Simple package for sending mail directly. At some point I'll probably make this package so it'll either send mail or send the message to an MQ that'll handle sending mail, depending on configuration.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(username, password, servername string)

Init sets the credentials and server for the package

func SendMail

func SendMail(to, from mail.Address, subject, body string)

SendMail sends the message to the specified user from the specified other user.

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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