bigkevmcd / john

Go Mailet implementation based on go-smtpd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

John - mailets for Go

This is a simple SMTP Server that can have a chain of mail processors inserted, this is not a production tool, and was written for teaching purposes.

Running John

$ go build ./cmd/john
$ ./john smtp

Testing mail delivery

$ echo "This is the message body and contains the message" | mailx -v -r \
  "someone@example.com" -s "This is the subject" -S smtp="localhost:2525" \
  testing@example.com

Running the tests

$ go test ./...

About

Go Mailet implementation based on go-smtpd

License:Apache License 2.0


Languages

Language:Go 100.0%