devsmtp

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 5 Imported by: 0

README

DevSMTP

DevSMTP implements buffalo's Sender interface by opening the HTML email in the (default) browser.

A fork of https://github.com/stanislas-m/mocksmtp

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevSMTP

type DevSMTP struct {
}

DevSMTP is an in-memory implementation for buffalo `Sender` interface. It's intended to open sent messages in the browser for debugging purposes.

func New

func New() *DevSMTP

New constructs a new DevSMTP.

func (*DevSMTP) Send

func (s *DevSMTP) Send(m mail.Message) error

Send implements buffalo `Sender` interface, to open the mail in the browser.

Jump to

Keyboard shortcuts

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