Skip to content

Commit

Permalink
minor change to send-mail.go (set port to 25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagottsicher committed Sep 25, 2023
1 parent 6b187b8 commit 13f66a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/web/send-mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func listenForMail() {
func sendMSG(m models.MailData) {
server := mail.NewSMTPClient()
server.Host = "localhost"
server.Port = 1025
server.Port = 25
server.KeepAlive = false
server.ConnectTimeout = 10 * time.Second
server.SendTimeout = 10 * time.Second
Expand Down

0 comments on commit 13f66a9

Please sign in to comment.