This commit is contained in:
Winni Neessen 2022-03-12 20:07:20 +01:00
parent 7266155cf4
commit 810babb379
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
// Package auth implements the LOGIN and MD5-DIGEST smtp authentication mechansims // Package auth implements the LOGIN and MD5-DIGEST smtp authentication mechanisms
package auth package auth
import ( import (

View file

@ -21,7 +21,7 @@ func main() {
m := mail.NewMsg() m := mail.NewMsg()
if err := m.From(fa); err != nil { if err := m.From(fa); err != nil {
fmt.Printf("failed to set FROM addres: %s", err) fmt.Printf("failed to set FROM address: %s", err)
os.Exit(1) os.Exit(1)
} }
if err := m.To(toa); err != nil { if err := m.To(toa); err != nil {