Skip to content

Conversation

@matthieucan
Copy link
Contributor

@matthieucan matthieucan commented Jul 22, 2023

SMTP commands are case-insensitive. smtplib uses lowercase commands, however it writes mail FROM and rcpt TO, lacking consistency.

#65495

SMTP commands are case-insensitive. `smtplib` uses lowercase commands,
however it writes `mail FROM` and `rcpt TO`, lacking consistency.
@ghost
Copy link

ghost commented Jul 22, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@ambv ambv merged commit 3782def into python:main Jul 22, 2023
@matthieucan matthieucan deleted the matthieucan/smtplib-lowercase-mail-from-rcpt-to branch July 22, 2023 14:52
@Razza30
Copy link

Razza30 commented May 13, 2025

ELHO is still being sent in lower case (possibly other commands/verbs such as AUTH LOGIN etc.) are too? Can you please review?

@Razza30
Copy link

Razza30 commented May 13, 2025

ELHO is still being sent in lower case (possibly other commands/verbs such as AUTH LOGIN etc.) are too? Can you please review?

I have changed
ehlo_msg = "ehlo"

To
ehlo_msg = "EHLO"

and that works in as much as I get a response from the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants