mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-23 02:50:39 +01:00
Change DefaultHost to loopback address
Updated DefaultHost from "localhost" to "127.0.0.1" in client_test.go. This change ensures consistent and direct communication with the local machine, avoiding potential issues with DNS resolution of "localhost".
This commit is contained in:
parent
90e3162a22
commit
23399ed84c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ import (
|
|||
|
||||
const (
|
||||
// DefaultHost is used as default hostname for the Client
|
||||
DefaultHost = "localhost"
|
||||
DefaultHost = "127.0.0.1"
|
||||
// TestRcpt is a trash mail address to send test mails to
|
||||
TestRcpt = "couttifaddebro-1473@yopmail.com"
|
||||
// TestServerProto is the protocol used for the simple SMTP test server
|
||||
|
|
Loading…
Reference in a new issue