Open ernezt opened 4 years ago
When issuing a RSET command, mailhog will reset the SMTPMessage. This will also clear the original Helo value. Since a "real" mail server will usually keep the smtp HELO value intact, would it be worthwhile to also have that behaviour here?
https://github.com/mailhog/smtp/blob/0c4e9b7e0625fec61d0c30d7b2f6c62852be6c54/protocol.go#L233
I actually have a fix for this in #4 (with one additional fix in my other PR). But I think this project is abandoned (see #5).
When issuing a RSET command, mailhog will reset the SMTPMessage. This will also clear the original Helo value. Since a "real" mail server will usually keep the smtp HELO value intact, would it be worthwhile to also have that behaviour here?
https://github.com/mailhog/smtp/blob/0c4e9b7e0625fec61d0c30d7b2f6c62852be6c54/protocol.go#L233