Simple SMTP Server for Testing.
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.
See
server_test.go
examples/simple/main.go
for example usage.