email

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Balance = &balance{}
View Source
var Transaction = &transaction{}

Functions

func SendContactBusiness

func SendContactBusiness(receiver, receiverEmail, replyToName, replyToEmail, body string) error

SendContactBusiness sends the contact to the business owner.

func SendDailyEmailList

func SendDailyEmailList(user *types.User, matchedTags *types.MatchedTags) error

SendDailyEmailList sends the matching tags for a user.

func SendNewMemberSignupEmail

func SendNewMemberSignupEmail(businessName, email string) error

SendNewMemberSignupEmail sends the email to the OCN Admin email address.

func SendResetEmail

func SendResetEmail(receiver string, email string, token string) error

SendResetEmail sends the reset email.

func SendSignupNotification

func SendSignupNotification(businessName string, contactEmail string) error

SendSignupNotification sends an email notification as each new signup occurs.

func SendThankYouEmail

func SendThankYouEmail(firstName, lastName, email string) error

SendThankYouEmail sends the thank you email once the user completes the trading member signup form.

func SendWelcomeEmail

func SendWelcomeEmail(businessName string, user *types.User) error

SendWelcomeEmail sends the welcome email once a new account is created.

Types

type Email

type Email struct {
	// contains filtered or unexported fields
}

Email is a prioritized configuration registry.

func New

func New() *Email

New returns an initialized Email instance.

Jump to

Keyboard shortcuts

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