Fixed an error message

This commit is contained in:
Alexandre Cesaro 2015-06-30 15:41:51 +02:00
parent 01674ee5b6
commit ea9c2b2d08
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}
}