Skip to content

smtplib.py does not follow RFC2821 requirements #145449

@GentleRV

Description

@GentleRV

Bug report

Bug description:

RFC 2821 require and must give FQDN in set up and EHLO handling.
For now this RFC 2821 is not implemented to reach those requirements.
The current behavior triggers security problems and false connections to servers to try to hack, deliver viruses and spam
Protection from mailserver's becomes problematic using the current smtplib.py in programs like erpnext as they rely fully in this library

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions