allow_extensions Property
A switch allowing the class to use ESMTP features (SMTP extensions).
Syntax
def get_allow_extensions() -> bool: ... def set_allow_extensions(value: bool) -> None: ...
allow_extensions = property(get_allow_extensions, set_allow_extensions)
Default Value
TRUE
Remarks
This property is a switch allowing the class to use ESMTP features (SMTP extensions). If this property is true, the class will first send the EHLO greeting to the server and, if that fails, the standard HELO command will be sent.
This property is true by default but may be disabled if it's known in advance that the mail_server doesn't support SMTP extensions.