mailers

package
v0.0.0-...-096236b Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EMAIL_CONFIRMATION_TEXT_TEMPLATE = `TODO Plaintext Emails`

	EMAIL_CONFIRMATION_HTML_TEMPLATE = `` /* 299-byte string literal not displayed */

)
View Source
const (
	SUBMISSION_NOTIFICATION_TEXT_TEMPLATE = `TODO Plaintext Emails`

	SUBMISSION_NOTIFICATION_HTML_TEMPLATE = `
<h1>New Form Submission</h1> 
<br>
<pre>{{ json }}</pre>`
)

Variables

This section is empty.

Functions

func SendEmailConfirmation

func SendEmailConfirmation(emailClient *sendgrid.Client, hostName string, user *models.User) (*rest.Response, error)

func SendSubmissionNotification

func SendSubmissionNotification(emailClient *sendgrid.Client, user *models.User, form *models.Form, json []byte) (*rest.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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