1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Fix: Include SMTPUTF8 capability in SMTP EHLO response (#496)

This commit is contained in:
Ralph Slooten
2025-05-17 01:09:17 +12:00
parent e1a6904eca
commit 84a519e84d

View File

@@ -883,7 +883,8 @@ func (s *session) makeEHLOResponse() (response string) {
}
}
response += "250 ENHANCEDSTATUSCODES"
response += "250-ENHANCEDSTATUSCODES\r\n"
response += "250 SMTPUTF8" // last entry must use a space instead of a dash
return
}