An open API service indexing awesome lists of open source software.

https://github.com/gomicro/postal

A library for mocking smtp calls
https://github.com/gomicro/postal

golang mock smtp tdd testing testing-library

Last synced: 4 months ago
JSON representation

A library for mocking smtp calls

Awesome Lists containing this project

README

          

# Postal
[![Build Status](https://travis-ci.org/gomicro/postal.svg)](https://travis-ci.org/gomicro/postal)
[![Go Reportcard](https://goreportcard.com/badge/github.com/gomicro/postal)](https://goreportcard.com/report/github.com/gomicro/postal)
[![GoDoc](https://godoc.org/github.com/gomicro/postal?status.svg)](https://godoc.org/github.com/gomicro/postal)
[![License](https://img.shields.io/github/license/gomicro/postal.svg)](https://github.com/gomicro/postal/blob/master/LICENSE.md)
[![Release](https://img.shields.io/github/release/gomicro/postal.svg)](https://github.com/gomicro/postal/releases/latest)

Postal is a mocked SMTP mailer.

# Requirements
Golang version 1.6 or higher

# Installation

```
go get github.com/gomicro/postal
```

# Usage
See the [examples](https://godoc.org/github.com/gomicro/postal#pkg-examples) within the docs for ways to use the library.

# Versioning
The library will be versioned in accordance with [Semver 2.0.0](http://semver.org). See the [releases](https://github.com/gomicro/postal/releases) section for the latest version. Until version 1.0.0 the libary is considered to be unstable.

It is always highly recommended to vendor the version you are using.

# License
See [LICENSE.md](./LICENSE.md) for more information.