mail

package
Version: v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mail provides a wrapper around sending mail via the fragile sendgrid API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(recipients []string, subject string, template string, context map[string]interface{}) error

Send sends mail (using sendgrid API v3)

func SendOne

func SendOne(recipient string, subject string, template string, context map[string]interface{}) error

SendOne sends email to ONE recipient only

func Setup

func Setup(s string, f string)

Setup sets the user and secret for use in sending mail

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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