diff options
-rw-r--r-- | cmd/ponzu/vendor/github.com/nilslice/email/email.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ponzu/vendor/github.com/nilslice/email/email.go b/cmd/ponzu/vendor/github.com/nilslice/email/email.go index 5cc151e..da443d0 100644 --- a/cmd/ponzu/vendor/github.com/nilslice/email/email.go +++ b/cmd/ponzu/vendor/github.com/nilslice/email/email.go @@ -87,7 +87,7 @@ func send(m Message, c *smtp.Client) error { } if m.From != "" { - _, err = msg.Write([]byte("From: " + m.From + "\r\n")) + _, err = msg.Write([]byte("From: " + m.From + " <" + m.From + ">\r\n")) if err != nil { return err } |