You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've changed handle_HELO and handle_EHLO to get rid of unwanted hostnames as early as possible. Disappointingly, I am now stuck with the message 503 Error: send HELO first.
expected
220 v238348.srv.net Python SMTP 1.4.4.post2
HELO example.com
250 v238348.srv.net
MAIL FROM: <sender@example.com>
250 OK
RCPT TO: <recipient@example.com>
250 OK
DATA
354 End data with <CR><LF>.<CR><LF>
From: sender@example.com
To: recipient@example.com
Subject: Telnet email
test.
250 OK
QUIT
221 Bye
Connection closed by foreign host.
actual
220 v238348.srv.net Python SMTP 1.4.4.post2
HELO example.com
250 example.com
MAIL FROM: <sender@example.com>
503 Error: send HELO first
summary
I've changed
handle_HELO
andhandle_EHLO
to get rid of unwanted hostnames as early as possible. Disappointingly, I am now stuck with the message503 Error: send HELO first
.expected
actual
code
hint
versions
assumption
Seems like extending
handle_HELO
andhandle_EHLO
needs more code as expected?The text was updated successfully, but these errors were encountered: