Fork net/smtp package

This commit is contained in:
Bernhard Froehlich
2018-12-26 20:10:19 +00:00
parent 38aa14ddbf
commit 571e9ea942
2 changed files with 432 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ func mailHandler(peer smtpd.Peer, env smtpd.Envelope) error {
log.Printf("delivering using smarthost %s\n", *remoteHost)
err := smtp.SendMail(
err := SendMail(
*remoteHost,
auth,
env.Sender,