mailtrap

package
v0.0.0-...-a7e6680 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Username  string `json:"username"`
	Password  string `json:"password""`
	Host      string `json:"domain""`
	SMTPPorts []int  `json:"smtp_ports"`
}

type MailTrap

type MailTrap struct {
	mail.Client
	// contains filtered or unexported fields
}

func New

func New(state *state.ServerState) *MailTrap

func (*MailTrap) SendMail

func (m *MailTrap) SendMail(to []string, from, subject, message string) error

Jump to

Keyboard shortcuts

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