From 49bf39f527fa15b78bfe8d9464cdaa5e2d3618e0 Mon Sep 17 00:00:00 2001 From: Romain LE JEUNE Date: Wed, 8 Nov 2023 18:12:16 +0100 Subject: [PATCH] server: remove 'blame it on the weather' error part --- conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn.go b/conn.go index 3fdf0f8..eb328aa 100644 --- a/conn.go +++ b/conn.go @@ -1173,7 +1173,7 @@ func toSMTPStatus(err error) (code int, enchCode EnhancedCode, msg string) { if smtperr, ok := err.(*SMTPError); ok { return smtperr.Code, smtperr.EnhancedCode, smtperr.Message } else { - return 554, EnhancedCode{5, 0, 0}, "Error: transaction failed, blame it on the weather: " + err.Error() + return 554, EnhancedCode{5, 0, 0}, "Error: transaction failed: " + err.Error() } }