https://github.com/frodsan/mat
Print mail to stdout
https://github.com/frodsan/mat
go golang mail testing
Last synced: about 1 year ago
JSON representation
Print mail to stdout
- Host: GitHub
- URL: https://github.com/frodsan/mat
- Owner: frodsan
- License: mit
- Created: 2016-03-24T20:05:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-27T03:16:33.000Z (over 10 years ago)
- Last Synced: 2025-02-12T06:24:30.065Z (over 1 year ago)
- Topics: go, golang, mail, testing
- Language: Go
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mat
===
A little mail tester daemon written in Go.
Ported from [mt](https://github.com/soveran/mt).
Description
-----------
`mat` fakes a SMTP server and prints incoming emails to stdout.
Installation
------------
```
go get github.com/frodsan/mat
```
Usage
-----
By default, it uses port 2525.
```
$ mat
Listening on port 2525
---
from: john@doe.com
to: jane@doe.com
Reply-To:
subject: =?utf-8?Q?Hi?=
Message-ID: <1458919281.382535.501.70189175994080@doe.com>
Date: Fri, 25 Mar 2016 10:21:21 -0500
Hi!
```
License
-------
mat is released under the [MIT License](http://www.opensource.org/licenses/MIT).