From 9eb9c115de3a70e26ebacc528a6e50e21e06e9c3 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Fri, 19 May 2017 16:57:36 -0400 Subject: Move SMTP HELO before authentication (#6464) --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/utils.go') diff --git a/utils/utils.go b/utils/utils.go index d158f540f..89ea4377e 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -68,7 +68,7 @@ func GetIpAddress(r *http.Request) string { return address } -func GetSiteName(siteURL string) string { +func GetHostnameFromSiteURL(siteURL string) string { u, err := url.Parse(siteURL) if err != nil { return "" -- cgit v1.2.3-1-g7c22