email

package
v0.0.0-...-fcc4a6d Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: ISC Imports: 8 Imported by: 0

Documentation

Overview

Package email handles the sending of emails

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Config config.Config
}

Service holds a domains-sweden config.Config and provides functions to send emails

func New

func New(c config.Config) Service

New takes a domains-sweden config.Config and returns an instance of Service

func (Service) Send

func (s Service) Send(to string, subject string, message string)

Send sends an email with the provided subject and message to the provided email.

Jump to

Keyboard shortcuts

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