diff --git a/main.go b/main.go index 5f754a5..e2d7420 100644 --- a/main.go +++ b/main.go @@ -72,8 +72,8 @@ func main() { viper.SetDefault("SMTP_SERVER_ADDR", "127.0.0.1:465") viper.SetDefault("SMTP_CLIENT_USERNAME", "") viper.SetDefault("SMTP_CLIENT_PASSWORD", "") - viper.SetDefault("CONTACT_REPLY_EMAIL", "noreply@company.com") - viper.SetDefault("CONTACT_REPLY_BCC_EMAIL", "contact@company.com") + viper.SetDefault("CONTACT_REPLY_EMAIL", "noreply@example.com") + viper.SetDefault("CONTACT_REPLY_BCC_EMAIL", "contact@example.com") viper.SetDefault("EMAIL_SUBJECT", "New message from contact form") viper.SetDefault("SMTP_AUTHENTICATION_ENABLED", true) diff --git a/sendmail.go b/sendmail.go index 9b282b1..e642d7f 100644 --- a/sendmail.go +++ b/sendmail.go @@ -267,7 +267,7 @@ func SendMail(httpResp http.ResponseWriter, httpReq *http.Request) { if err != nil { log.Println(err.Error()) contactResponse.Status = "error" - contactResponse.Message = fmt.Sprintf("An internal error occurred, please try later or send us an email at %s.", viper.GetString("CONTACT_REPLY_BCC_EMAIL")) + contactResponse.Message = fmt.Sprintf("An internal error occurred, please try later.") } else { contactResponse.Status = "success" contactResponse.Message = "Thank you for your message."