From ea9c2b2d08a2db4037b06849a177e990924a7290 Mon Sep 17 00:00:00 2001 From: Alexandre Cesaro Date: Tue, 30 Jun 2015 15:41:51 +0200 Subject: [PATCH] Fixed an error message --- send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send.go b/send.go index 05a6c68..6ad5277 100644 --- a/send.go +++ b/send.go @@ -110,7 +110,7 @@ func getFrom(msg *mail.Message) (string, error) { if from == "" { from = msg.Header.Get("From") if from == "" { - return "", errors.New("mailer: invalid message, \"From\" field is absent") + return "", errors.New("gomail: invalid message, \"From\" field is absent") } }