Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

allgeierit/go-smtptester

 
 

Repository files navigation

Go License: MIT

go-smtptester

Simple SMTP Server for Testing.

How it works

All received mails are saved in a sync.Map with a key:

From+Recipient1+Recipient2

Mails to the same sender and recipients will overwrite a previous received mail, when the recipients slice has the same order as in the mail received before.

Example

See

server_test.go
examples/simple/main.go

for example usage.

About

Simple SMTP Server for Testing - backup fork

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 81.5%
  • Dockerfile 13.2%
  • Makefile 5.3%