Update smtp.go (develop branch)
For mail servers that do not require Authentication we must pass NIL for the SendMail parameter 2 (the auth parameter). Otherwise it fails to send the mail.
Showing
1 changed file
with
14 additions
and
6 deletions
-
Please register or sign in to post a comment